【发布时间】:2020-10-05 13:42:25
【问题描述】:
我有一个本地 gitlab,我试图在其中运行一些构建/管道,但出现以下错误 -
fatal: unable to access 'https://gitlab-ci-token:[MASKED]@gitlab.systems/testing/test-project-poc.git/': Peer's certificate issuer has been marked as not trusted by the user.
我已经对此进行了调查-Gitlab:Peer's Certificate issuer is not recognized,并按照通过合并server certificate、intermediate certificate 和root certificate 来获取.pem 文件的步骤,但我仍然遇到以下错误并且真的很难找到根本原因。
/etc/gitlab/gitlab.rb config
##! enable/disable 2-way SSL client authentication
#nginx['ssl_verify_client'] = "off"
##! if ssl_verify_client on, verification depth in the client certificates chain
#nginx['ssl_verify_depth'] = "1"
nginx['ssl_certificate'] = "/etc/gitlab/ssl/gitlab.systems.pem"
nginx['ssl_certificate_key'] = "/etc/gitlab/ssl/gitlab.systems.key"
我需要更新/修改任何其他配置吗?非常感谢任何指导。
【问题讨论】:
标签: gitlab gitlab-ci-runner gitlab-omnibus