Todd Baginski's Blog - A SharePoint, Mobile, Office365, PowerApps and Azure Blog

Fixing GitHub Certificate Issue

18 May 2016

Comments:

Off
 May 18, 2016
 Off
Rattlesnake Canyon Rocks And Moss

The latest update for GitHub tools broke the ability to issue pull and push commands yesterday on my PC.  It took me a little while to figure out how to fix it so I figured it was worth sharing.  Hopefully this helps you out if you run into this issue too.

Here is the command I tried to run and the error code I received:

C:\GitHub\Property-Inspection-Code-Sample [master ↑]> git push origin master
fatal: unable to access ‘https://github.com/TBag/Property-Inspection-Code-Sample.git/’: error setting certificate verify locations:
CAfile: C:\Program Files\Git\mingw64/bin/curl-ca-bundle.crt
CApath: none

Here’s how I fixed it:

C:\GitHub\Property-Inspection-Code-Sample [master ↑]> git config –global http.sslcainfo “C:\Program Files\Git\mingw64\ssl\certs\ca-bundle.crt”

Comments are closed.