Git拉取本地仓库报错:SSL certificate problem: unable to get local issuer certificate

时间:2024-04-09 13:39:27

完整错误提示:

错误:fatal: unable to access 'https://xxx.xxx.com/xxx/xxx.git/': SSL certificate problem: unable to get local issuer certificate

原因:服务器的SSL证书未经过第三方机构签署
解决方法:可以忽略SSL验证解决该问题

解决方案:修改配置

TortoiseGit :
TortoiseGit -> Setting -> Git--> Edit global .gitconfig 添加如下配置:
[http]
sslVerify = false

Git拉取本地仓库报错:SSL certificate problem: unable to get local issuer certificate

Git拉取本地仓库报错:SSL certificate problem: unable to get local issuer certificate