【转】Git 报错:TLS certificate verification has been disabled!
使用 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
浙公网安备 33010602011771号