SSL certificate problem: unable to get local issue

a 夏天 提交于 2020-03-01 20:49:47

今天在使用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
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!