Git SSL certificate problem错误的解决

2019-08-10  本文已影响0人  AdamSun19

今天用百度云clone git项目时,报了以下错误:

fatal:unable to access : SSL certicate problem: unable to get local issuer certificate

这里其实是电脑没有安装对应的ca证书,所以无法通过https连接到git服务器。

这里通过设置git的ssl验证跳过了这个错误(win下):

$ git config --global http.sslVerify false

之后再进行 git clone,就可以下载百度云的git项目了。

上一篇 下一篇

猜你喜欢

热点阅读