如何向git客户端添加自定义证书?
我有证书,我想从gitlub克隆一些项目。
但我有个错误:
致命:无法访问'https://some.gitlub.url':SSL证书的问题(路径?访问权?)
Windows模拟:git config --global http."https://some.gitlub.url".sslCAInfo "work/gitlab.cer
发布于 2017-01-17 13:26:35
您需要配置GIT以信任证书。
$> git config --global http."https://some.gitlub.url".sslCAInfo ~/git-certs/cert.pem
还建议这样做:
$> git config --global --unset http.sslVerify
$> git config --global --listhttps://stackoverflow.com/questions/41698193
复制相似问题