git clone出现SSL错误

8910阅读 0评论2014-01-17 cjdao
分类:LINUX

在学习git的时候,发现不能使用git clone从github.com下载,报了个ssl错误。

 


Cloning into cancan...

error: SSL certificate problem, verify that the CA cert is OK. Details:

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed while accessing

 

fatal: HTTP request failed

 

在网上找了一下,比较简单的解决办法:

 

git config --global http.sslVerify false

上一篇:Linux内核OOM机制的详细分析
下一篇:内存池1--Nginx内存池剖析