Kali---Git clone server certificate verification failed. CAfile: /etc/ssl/certs/

这几天重新折腾linux,记录一下遇到到问题吧

安装vim插件的时候,git clone报错,

然后手动git clone问题依旧

bing/baidu

export GIT_SSL_NO_VERIFY=1
#or
git config --global http.sslverify false

第一种, 放到~/.bashrc 或者  ~/.zshrc

第二种 , git的全局配置

http://stackoverflow.com/questions/21181231/server-certificate-verification-failed-cafile-etc-ssl-certs-ca-certificates-c

git

相关推荐