Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

fatal: unable to access, schannel: failed to open CA file, No such process, GitHub Desktop

Full error text:

fatal: unable to access 'https://github.com/Repository_name': schannel: failed to open CA file 'C:/Users/Username/AppData/Local/GitHubDesktop/app-1.2.1/resources/app/git/mingw64/ssl/certs/ca-bundle.crt': No such process

Application just stopped to work and throwing this error every time when I try to fetch, pull, push or clone any repository. The same commands in bash work correctly

like image 507
VersAtile Avatar asked May 30 '18 20:05

VersAtile


3 Answers

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.

like image 114
simoconfa Avatar answered Nov 04 '22 16:11

simoconfa


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

like image 26
Jaco Louw Avatar answered Nov 04 '22 18:11

Jaco Louw


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 :(

like image 42
Handleman Avatar answered Nov 04 '22 16:11

Handleman