Failed to git clone from github (error: SSL certificate problem)

I want to get my hands dirty with github projects. But as soon as I tried to git clone the project. I get this 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://github.com/LINK_TO_REPO.git

Then I found: http://stackoverflow.com/questions/3777075/https-github-access/7101958#7101958

What it does is basically ignore the SSL verification. So be cautious of what you are cloning. However, personally I think there shouldn’t be any problem with it.


$ export GIT_SSL_NO_VERIFY=true
$ git clone https://github.com/LINK_TO_REPO.git

Leave a Comment

Your email address will not be published. Required fields are marked *