git clone ssl 报错
当使用git 克隆项目时遇到错误下载不下来
报错如下:
Cloning into '***'...
fatal: unable to access 'https://gitlab.***.git/': SSL certificate problem: unable to get local issuer certificate
原因:服务器的SSL证书未经过第三方机构签署
解决办法:忽略 SSL 验证
git bash: --> git config --global http.sslVerify false
TortoiseGit -> Setting --> Edit global .gitconfig
添加配置:
[http]
sslVerify = false