当前位置:   article > 正文

Git push 过程 TLS certificate verification has been disabled_warning: | tls certificate verification has been d

warning: | tls certificate verification has been disabled! |

问题

push时候,出现以下 warning

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

或出现

  1. $ git push second master
  2. fatal: unable to access 'https://github.com/77sup/huashanjianpu.git/': SSL certificate problem: unable to get local issuer certificate

解决:

同时在cmd和git bash中输入下面命令并执行,即可解决问题

git config --global http.sslVerify false

 

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号