Reputation: 591
I am trying to push to GitHub a simple web application using git bash on Windows 8. But when i do git push origin master it says "fatal: unable to access 'https://********.com/****/******.git/': SSL certificate problem: unable to get local issuer certificate".
Could someone help me with this issue, without disabling the SSL.
Upvotes: 4
Views: 8404
Reputation: 2175
You can fix the error by giving your SSL certificate. You can do this by either:
Editing your Git config file (in Linux ~/.gitconfig
) and add:
[http]
sslCAinfo = <path to your key>
Executing the following command:
git config --global http.sslCAinfo <path to your key>
Upvotes: 4