。的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