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

白昼怎懂夜的黑 提交于 2019-12-30 07:59:12

问题


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


回答1:


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.




回答2:


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




回答3:


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




回答4:


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



回答5:


  1. Type %ProgramData%/ in Windows search bar(Type here to search field at bottom left corner)
  2. Go to /Git
  3. Open congif file in text editor. (Preferably Notepad++ or similar, as this allows to edit the file Administrator mode. Otherwise, write permission is denied.)
  4. Remove this entry from the file

    [http]
    sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
    
  5. 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




回答6:


I fixed it by just removing "C:\ProgramData\Git\config"



来源:https://stackoverflow.com/questions/50612862/fatal-unable-to-access-schannel-failed-to-open-ca-file-no-such-process-gith

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!