您的位置:首页 > 大数据 > 人工智能

用git 拷贝libgdx出问题error: SSL certificate problem, verify that the CA cert is OK. Details:

2014-07-17 17:11 281 查看
用git 拷贝libgdx出问题。

$ git clone https://github.com/libgdx/libgdx.git libgdx1.2.1

Cloning into libgdx1.2.1...

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

error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify faile

d while accessing https://github.com/libgdx/libgdx.git/info/refs
fatal: HTTP request failed

解决方案:

参见:/article/9852270.html

使用git clone出现SSL routines:SSL3_GET_SERVER_CERTIFICATE错误的一种解决办法

最近用git下载一个开源项目的时候,出现了这样的错误信息:

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/...


出现这样的情况是因为git clone默认采用SSL认证的时候,本地找不到对应证书,所以可以通过关掉验证来解决这一问题,就是在git clone命令前面加上:

env GIT_SSL_NO_VERIFY=true

所以完整的命令是这样:

env GIT_SSL_NO_VERIFY=true git clone https://github.com/...
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐