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

后端 未结 6 643
耶瑟儿~
耶瑟儿~ 2021-01-11 09:55

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

相关标签:
6条回答
  • 2021-01-11 10:24

    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

    0 讨论(0)
  • 2021-01-11 10:29
    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

    0 讨论(0)
  • 2021-01-11 10:35

    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
    
    0 讨论(0)
  • 2021-01-11 10:39

    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.

    0 讨论(0)
  • 2021-01-11 10:39

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

    0 讨论(0)
  • 2021-01-11 10:39

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

    0 讨论(0)
提交回复
热议问题