The random eclecticisms of loonytoons

git error setting certificate verify locations

I came across this error having setup a windows vista machine to clone a github repo using msysgit:

error: error setting certificate verify locations:
  CAfile: /bin/curl-ca-bundle.crt
  CApath: none

It turns out it’s just a problem with the path, all you need to do is reset this info and it should be alright:

git config --system http.sslcainfo /bin/curl-ca-bundle.crt

If you run got config -l you can check the git configuration to see exactly what all the settings are.


Leave a Reply

Your email address will not be published. Required fields are marked *