New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git on OS X has SSL errors #3332

wjlroe opened this Issue Jul 21, 2014 · 2 comments


None yet
4 participants
Copy link

wjlroe commented Jul 21, 2014

When using git from nixpkg on OS X I get the following error when git pulling on a repo with an HTTPS remote:

 % git pull                                                                                                                                                                                                        
fatal: unable to access '': SSL certificate problem: unable to get local issuer certificate

If I use the git binary that ships with the developer tools, no such error occurs.


This comment has been minimized.

Copy link

kevinburke commented Jul 26, 2014

I ran into this same issue. One fix is to set GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt (but wherever the cert bundle actually lives on Macs).

Advice from the developers on the "correct" way to solve this problem would be nice (if there is one, or just environment variables forever).


This comment has been minimized.

Copy link

gridaphobe commented Mar 25, 2015

This appears to be fixed in master without needing any workarounds.

@gridaphobe gridaphobe closed this Mar 25, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment