SSL certificate problem: unable to get local issue
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SSL certificate problem: unable to get local issue相关的知识,希望对你有一定的参考价值。
今天在使用git克隆一个库的时候,报错如下:
正克隆到 ‘lepus‘...
fatal: unable to access ‘https://github.com/ruzuojun/lepus.git/‘: SSL certificate problem: unable to get local issuer certificate
隐隐约约记得之前遇到过这种报错,但忘了解决办法,于是上网搜索一波。发现是https访问的的证书问题,我就使用命令直接去掉ssl的验证,问题解决。
解决方法:
[root@monitor local]# git config --global http.sslVerify false
以上是关于SSL certificate problem: unable to get local issue的主要内容,如果未能解决你的问题,请参考以下文章
解决报错:SSL certificate problem: certificate has expired
curl SSL certificate problem: unable to get local issuer certificate 错误的解决方法
php SSL certificate problem: unable to get local issuer certificate
Homebrew安装gcc:curl: (60) SSL certificate problem: certificate has expired
Git SSL certificate problem: unable to get local issuer certificate
解决:git SSL certificate problem: unable to get local issuer certificate