git error “server certificate verification failed”

I’ve got this message on Ubuntu 12.04. Other servers seemed to work fine.

The fix:
Append CA root of that cert to file: /etc/ssl/certs/ca-certificates.crt

OR
just to disable sslverify for git globally (it may be reenabled afterwards):

And everything is back to normal:

Leave a Reply