[SOLVED] Git complains ‘server certificate verification failed’!

Just met with this error, and here is the hack !
* You are in a public wifi, and usually connect SSL via a Certificate issued by the authority.
* The certificate file is Downloads/CA_Certificate.cer
* Global git fix

git config --global http.sslcainfo Downloads/CA_Certificate.cer

That would do ! do git pull now.
Happy hacking!

One thought on “[SOLVED] Git complains ‘server certificate verification failed’!

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s