首页 > 其他分享 >【转】Git 报错:TLS certificate verification has been disabled!

【转】Git 报错:TLS certificate verification has been disabled!

时间:2023-01-17 15:58:14浏览次数:42  
标签:TLS Git certificate been disabled warning 报错 verification

 使用 Git 时遇到报错:TLS certificate verification has been disabled!

warning: ----------------- SECURITY WARNING ----------------
warning: | TLS certificate verification has been disabled! |
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcmcore-tlsverify for more information. 
warning: ----------------- SECURITY WARNING ----------------
warning: ---------------------------------------------------
warning: HTTPS connections may not be secure. See https://aka.ms/gcmcore-tlsverify for more information. 

解决方法:

git config --global http.sslVerify true

在 git pull 后 warning 消失

参考:https://www.jianshu.com/p/c05a1ef1aa93

标签:TLS,Git,certificate,been,disabled,warning,报错,verification
From: https://www.cnblogs.com/z5337/p/17057968.html

相关文章