问题现象
git clone https://....
报错,说证书校验有问题:
·error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none·
解决方法是加一个环境变量:
Linux下:
export GIT_SSL_NO_VERIFY=1
windows下:
set GIT_SSL_NO_VERIFY 1
git
git config --global http.sslVerify false
网友评论