。的Git HTTPS访问打破在MacOS塞拉利昂/ SSL钥匙扣错误
git clone https://github.com/monday-consulting/FSDevTools.git
Cloning into 'FSDevTools'...
fatal: unable to access 'https://github.com/monday-consulting/FSDevTools.git/': SSL: Can't find the certificate "My User" and its private key in the Keychain.
这似乎是访问的钥匙串(使用[credential] helper = osxkeychain
),我可以看到证书与它在钥匙串中的私钥打破。此外,我已经与ssh-add -K ~/.ssh/id_rsa
添加它,我读过有关这这里:https://github.com/curl/curl/pull/1105,但我不知道为什么有keychin访问反正? 我的.gitconfig根本没有[http]
部分(与sslVerify
或sslCert
属性),所以我根本没有使用任何证书。
有趣的是 - 使用具有相同Git可执行文件的SourceTree,并禁用了"Allow SourceTree to modify my global Git and Mercurial config files"
(因此使用相同的.gitconfig)可以毫无问题地工作。
我也尝试使用自卷曲卷曲和编译与--with-brewed-curl
Git - 没有任何改变。
只是想让你们知道 - 我已经从源头(7.52.0-DEV)建立卷曲,它没有做的窍门:( – Marcel