报错:

$ git clone https://github.XXX.git
Cloning into 'XXX'...
fatal: unable to access 'https://github.XXX.git/': SSL certificate problem: unable to get local issuer certificate


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

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

git config --global http.sslVerify false

之后再进行 git clone即可。

 

参考:https://my.oschina.net/jiec/blog/495883?p=1


相关文章:

  • 2021-07-25
  • 2021-07-14
  • 2022-12-23
  • 2021-05-01
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-06-09
  • 2021-12-03
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-22
  • 2022-12-23
相关资源
相似解决方案