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

来源:互联网 发布:psp看书软件羊皮纸 编辑:程序博客网 时间:2024/05/02 04:22
最近开始赶潮流,弄起mongoDB了,用它存储文本信息,前端用nginx做代理需要安装nginx-gridFS模块,但是在我下载该模块的时候发生了这样的问题!操作代码如下:

[root@aaronw nginx-gridfs]# git clone https://github.com/mdirolf/nginx-gridfs.git
Cloning into nginx-gridfs…
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/mdirolf/nginx-gridfs.git/info/refs

fatal: HTTP request failed

后来以为是防火墙的问题,但是我把防火墙停了还是不行,最终还是放狗找到的!在一个英文网站,有人提到了这样一句话:

[root@aaronw nginx-gridfs]# export GIT_SSL_NO_VERIFY=true

,然后再执行上面的操作就可以了!
0 0
原创粉丝点击