企业gitlab无法注册运行器-TLS错误

时间:2020-05-11 09:15:22

标签: ssl gitlab gitlab-ci gitlab-ci-runner

我无法为公司gitlab实例注册gitlab-ruuner。我已经将CA添加到了跑步者主机上的受信任证书,但是当我运行时:

gitlab-runner register

prividing URLs and keys i get:

ERROR: Registering runner... failed                 runner=NjxPvnmE status=couldn't execute POST against https://192.168.163.32/api/v4/runners: Post https://192.168.163.32/api/v4/runners: local error: tls: no renegotiation
PANIC: Failed to register this runner. Perhaps you are having network problems

我已阅读它,可能是由于服务器不同意TLS选项(例如TLS 1.2)引起的,但是当我运行该带有CURL的api端点时,就可以了:

https://192.168.163.32/api/v4/runners
{"message":"401 Unauthorized"}

任何人都可以给我提示如何使其工作吗?

0 个答案:

没有答案