Pages

Saturday, 14 November 2015

CentOS5下,使用Git CA证书所发生的错误的几种解决方法

设置Git禁用SSL检验:
1
git config --system http.sslVerify false
更新根证书:
1
curl http://curl.haxx.se/ca/cacert.pem -o /etc/pki/tls/certs/ca-bundle.crt
更新OpenSSL:
1
yum update openssl