Git SSL:Can';“找不到证书”&引用;以及钥匙链中的私钥
我在尝试通过https从github克隆时遇到以下错误Git SSL:Can';“找不到证书”&引用;以及钥匙链中的私钥,git,keychain,Git,Keychain,我在尝试通过https从github克隆时遇到以下错误 fatal: unable to access 'https://github.com/<any-github-repo>.git/': SSL: Can't find the certificate "" and its private key in the Keychain. 致命:无法访问'https://github.com/.git/“:SSL:找不到 证书“”及其密钥链中的私钥。 git+ssh确实可以继续工作,
fatal: unable to access 'https://github.com/<any-github-repo>.git/': SSL: Can't find the
certificate "" and its private key in the Keychain.
致命:无法访问'https://github.com/.git/“:SSL:找不到
证书“”及其密钥链中的私钥。
git+ssh确实可以继续工作,但在某些情况下,我需要能够使用https,例如在运行brew update
时
我知道证书的位置仅为“
。我所拥有的每一个示例都至少指定了它正在寻找的证书,这有助于推断问题所在
有人知道什么是证书吗?或者如何最好地解决这个问题?我找到了问题的根源。我在
~/.gitconfig
在那里我找到了这条线
[http]
sslCert =
sslVerify = false
sslCert=
是定义“
的地方。我已经删除了[http]
部分,现在它可以工作了