SSL证书问题:无法在git中获取本地颁发者证书[重复]

Posted

技术标签:

【中文标题】SSL证书问题:无法在git中获取本地颁发者证书[重复]【英文标题】:SSL certificate problem: unable to get local issuer certificate in git [duplicate] 【发布时间】:2019-04-12 03:01:56 【问题描述】:

我在推送 git 时遇到问题。 出现此错误消息:

SSL certificate problem: unable to get local issuer certificate

【问题讨论】:

嗨,Carles - 上面链接的另一个问题对您的问题有几种可能的解决方案。如果这些都不能解决您的问题,那么一个解释您的环境独特属性的新问题将很有帮助。 :) 【参考方案1】:

之前有几种方法解决了这个问题:

A.确保根证书已添加到 git.exe 的证书存储中,如此处所述。

B.通过运行告诉 Git 在哪里可以找到 CA 包:

git config --system http.sslCAPath /absolute/path/to/git/certificates 或将 CA 捆绑包复制到 /bin 目录并将以下内容添加到 gitconfig 文件中:

sslCAinfo = /bin/curl-ca-bundle.crt

C.重新安装 Git。

D.确保存在完整的 CA,包括根证书。

【讨论】:

也可以试试这个答案***.com/a/54218725/4941386

以上是关于SSL证书问题:无法在git中获取本地颁发者证书[重复]的主要内容,如果未能解决你的问题,请参考以下文章

PHP - SSL 证书错误:无法获取本地颁发者证书

PHP - SSL 证书错误:无法获取本地颁发者证书

Visual Studio 2017 Enterprise + TFS 2018 + Git Clone = 无法获取本地颁发者证书

SSL 证书问题:无法获取本地颁发者证书 AZURE DEVOPS

如何在本地使用 wamp 时摆脱 payum“SSL 证书问题:无法获取本地颁发者证书”错误

Paypal Access - SSL 证书:无法获取本地颁发者证书