致命:无法访问,schannel:无法打开CA文件,没有这样的过程,GitHub Desktop [英] fatal: unable to access, schannel: failed to open CA file, No such process, GitHub Desktop

查看:159
本文介绍了致命:无法访问,schannel:无法打开CA文件,没有这样的过程,GitHub Desktop的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

完整的错误文本:

致命:无法访问' https://github.com/Repository_name ':schannel:无法打开CA文件"C:/Users/Username/AppData/Local/GitHubDesktop/app-1.2.1/resources/app/git/mingw64/ssl/certs/ca-bundle.crt":没有这样的过程

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

应用程序刚刚停止工作,并且每次我尝试获取,拉取,推送或克隆任何存储库时都会引发此错误. bash中的相同命令可以正常工作

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

推荐答案

使用文本编辑器转到%ProgramData%/Git打开配置文件并替换

Go to %ProgramData%/Git open config file with a text editor and substitute

sslCAInfo = ... some stuff

sslCAInfo = C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt

在本期Github上已经对此进行了讨论 https://github.com/desktop/desktop/issues/4817 ,它将尽快修复.

This has been already discussed in this issue on Github https://github.com/desktop/desktop/issues/4817 and it will be fixed asap.

这篇关于致命:无法访问,schannel:无法打开CA文件,没有这样的过程,GitHub Desktop的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆