1

I am opening the terminal, writting the command as follows

 git clone url

It says as

Cloning into code.xyz.com...

and I am getting error

    error: SSL certificate problem, verify that the CA cert is OK. Details:
    error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing https://code.xyz.com/info/refs

    fatal: HTTP request failed

I am using Mac OS X 10.7, can anyone guide me what should I do, I have proper username and password, and correct url?

Chatar Veer Suthar
  • 15,541
  • 26
  • 90
  • 154

2 Answers2

6

The problem is that you do not have any of Certification Authority certificates installed on your system.

Ignore ssl certificate verification and proceed with the installation:

$ env GIT_SSL_NO_VERIFY=true git clone https://github...

Or you can try this for MAC oS :

git config --global --add http.sslVerify false
Mithun Sasidharan
  • 20,572
  • 10
  • 34
  • 52
0

Try removing the https and just using http in the clone url.

Mauvis Ledford
  • 40,827
  • 17
  • 81
  • 86