git clone SSL error解决

[root@sv02 cocos2d]# git clone https://github.com/andyque/Cocos2DBookSource.git
Cloning into 'Cocos2DBookSource'...
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 https://github.com/andyque/Cocos2DBookSource.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
[root@jsv02 cocos2d]# git config --global http.sslVerify false
[root@sv02 cocos2d]# git clone https://github.com/andyque/Cocos2DBookSource.git
Cloning into 'Cocos2DBookSource'...
remote: Counting objects: 2973, done.
remote: Compressing objects: 100% (1708/1708), done.

 

posted @ 2013-04-22 16:03  netxfly  阅读(406)  评论(0编辑  收藏  举报