Gitlab:不认可对等证书颁发者 [英] Gitlab:Peer's Certificate issuer is not recognized

查看:74
本文介绍了Gitlab:不认可对等证书颁发者的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在全新安装gitlab时收到此错误.该消息看起来像:

I get this error on a fresh install of gitlab. The message looks like:

fatal: unable to access 'https://gitlab-ci-
token:xxxxxxxxxxxxxxxxxxxx@gitlab.example.com/something.git/': Peer's 
Certificate issuer is not recognized.ERROR: Job 
failed: exit status 1

关于如何修复它的任何建议?

Any suggestions on how to fix it?

推荐答案

在通过以下命令启用详细模式后,也遇到了相同的问题导出GIT_CURL_VERBOSE = 1 并发现以下问题:

Had faced the same problem after enabling verbose mode by following command export GIT_CURL_VERBOSE=1 and found the following issue:

NSS错误-8179(SEC_ERROR_UNKNOWN_ISSUER)

发现以下站点很有帮助,但是当您完全控制代理服务器也可以输入证书.

Found this following site helpful,But its good when you have entire control for the proxy server as well to enter the certificates.

http://dropbit.com/?p=168

我改为运行以下命令来绕过porxy服务器进行的ssl验证,并且有效

I instead ran following command to bypass ssl verification by porxy server and it worked

git config --global http.sslVerify "false"

这篇关于Gitlab:不认可对等证书颁发者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆