login: root

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

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

And everything is back to normal:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: