git clone报错——SSL certificate problem: self signed certificate in certificate chain
问题描述 使用Git工具进行git clone项目时,弹出框提示信息为“fatal: unable to access ‘https://…git/’: SSL certificate problem: self signed certificate in certificate chain”
问题分析 提示信息为SSL认证失败,可以关闭SSL的认证。 公司bitbucket只支持https地址,需要client配置忽略https证书检验。
解决方案 打开Git Bash运行如下命令
export GIT_SSL_NO_VERIFY=true git config --global http.sslVerify "false"
1 2 在windows的命令行中,进入到git命令所在的磁盘位置,执行下面的git命令
git config --global http.sslVerify false
1 可参阅:
https://www.cnblogs.com/shun7man/p/14029668.html https://blog..net/qiushisoftware/article/details/75330643 ————————————————