awesomeprogrammer.com

Sharing ideas

Solving problems

Gathering solutions

Exchanging thoughts

Ruby On Rails

PHP

Postgres

Debian & Ubuntu
jQuery & CSS

Fixing GIT Https Certificate Problem

If you are using a git repository over https protocol you may encounter error:

server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://your-git-repo fatal: HTTP request failed

What it mean is that probably your hosting provider (that you are hosting your repo on) upgraded their SSL certificate (go and check it out first). Here’s recipe for a quick fix:

1
2
3
4
export GIT_SSL_NO_VERIFY=1
git push
git pull
export GIT_SSL_NO_VERIFY=0

Comments