仅列出标题 列出摘要

git 证书错误

git clone https://github.com/openstack-dev/devstack.git

Cloning into 'devstack'...

error: server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none while accessing https://github.com/openstack-dev/devstack.git/info/refs

fatal: HTTP request failed

解决办法:

主要方式验证


2
3
4
5
6
7
8
9
10
#(在客户机上执行以上操作)
#主要方式:
git config --global http.sslverify false
 
#其他
git uses gnutls for this stuff, which requires the CA be specified. This can be done with per-respository with:
git config http.sslcapath
OR
git config http.sslcainfo
You can also specify --system or --global.
posted on 2014-07-31 11:34  baoyiluo  阅读(2656)  评论(0编辑  收藏  举报