最新消息:

SSL certificate problem

mongodb admin 2964浏览 0评论

最近开始赶潮流,弄起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

,然后再执行上面的操作就可以了!

转载请注明:爱开源 » SSL certificate problem

您必须 登录 才能发表评论!