Full error text:
fatal: unable to access \'https://github.com/Repository_name\': schannel: failed to open CA file \'C:/Users/Username/AppData/Local/GitHubDesktop/ap
The error I got was:
fatal: unable to access 'https://github.com/{reponame}.git/': schannel: failed to open CA file 'C:/Program Files (x86)/Git/mingw64/ssl/certs/ca-bundle.crt': No such process
I fixed it by opening my config file located in "C:\ProgramData\Git\config" and updating the setting as follows sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
I hope this helps someone
Remove this entry from the file
[http]
sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
Save and close file. Try to push again, it works!
Reference:
fatal: unable to access curl-ca-bundle.crt #4836
After restarting my client following a desktop client update prompt, I can no longer Fetch Origin #4817
you can use it
git config http.sslVerify false
use it in your repository or use this command if you dont have a git repo
git config --global http.sslVerify false
Go to %ProgramData%/Git
open config file with a text editor and substitute
sslCAInfo = ... some stuff
with
sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
This has been already discussed in this issue on Github https://github.com/desktop/desktop/issues/4817 and it will be fixed asap.
CF How do I set GIT_SSL_NO_VERIFY for specific repos only?
I fixed this by running
git config http.sslVerify false
but not sure how secure my GIT comms is now :(
I fixed it by just removing "C:\ProgramData\Git\config"