github - fatal : unable to access, schannel : failed to open CA file, 没有这样的进程,GitHub Desktop

标签 github 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': 没有这样的流程

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

最佳答案

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

sslCAInfo = ...一些东西

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

这已经在 Github 上的本期讨论过 https://github.com/desktop/desktop/issues/4817我们会尽快修复。

关于github - fatal : unable to access, schannel : failed to open CA file, 没有这样的进程,GitHub Desktop,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50612862/

相关文章:

git - pull 请求者应该做什么来恢复错误的提交

node.js - NodeJS 的 Github 操作 - 本地文件的 'Error: Cannot find module'

android - 将 Android 项目转换为 Maven

visual-studio-code - VSCODE 和 GitHub 桌面预提交钩子(Hook) : npx: command not found

git - 如何在 Github Desktop 中重做 'undo most recent commit'

github - 将 GitHub 存储库导入到特定文件夹

git - 如何在 Github Desktop 中将 fork 的仓库与原始仓库同步

github - 如何将我的 fork repo 的部分更改作为补丁提交?

xcode - Xcode 的 .ssh key 和 Github 帐户是否有内部配置?