I've been unable to git clone
just about any github repo because of this error
fatal: unable to access 'github_url': server certificate verification failed. CAfile: /home/ubuntu/.ssh/rel3_dodroot_2048.crt CRLFile: none
I've noticed a few other people have had a similar error, but with the certificate in the .ssl
folder. I've never seen anyone have this problem with the certificate in the .ssh though, and I have no idea how to fix it.
Environment:
- Nvidia Jetson TX1 running Ubuntu 14.04
- Specific Github of Interest (although it happens with all of them)
- https://github.com/rbgirshick/fast-rcnn.git
Ok, I found the solution... I guess a script (I hadn't looked at) ran on my computer which ran the line
git config --global http.sslVerify true
So the solution was simply to change run
git config --global http.sslVerify false
Heh...
Delete all reference to the SSH certificate from your Github account and validate manually with an e-mail address and password.
To do your clone without dealing with cert problem this post (disable certification verification) can help you.
来源:https://stackoverflow.com/questions/37444154/git-clone-fails-server-certificate-verification-failed