在我安装gitlab ee时,gitlab runner和奇怪的x509证书出现问题
在过去的几个月里,我使用Gitlab EE 11.7.0-EE(c02f0d4)完美地运行了一台服务器 在拥有的子域上运行,SSL证书正确 使用Gitlab手册中指定的步骤尝试安装Gitlab runner在我安装gitlab ee时,gitlab runner和奇怪的x509证书出现问题,gitlab,gitlab-ci,gitlab-ci-runner,Gitlab,Gitlab Ci,Gitlab Ci Runner,在过去的几个月里,我使用Gitlab EE 11.7.0-EE(c02f0d4)完美地运行了一台服务器 在拥有的子域上运行,SSL证书正确 使用Gitlab手册中指定的步骤尝试安装Gitlab runner curl -L https://packages.gitlab.com/install/repositories/runner/gitlab- runner/script.deb.sh | sudo bash cat <<EOF | sudo tee /etc/apt/pre
curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-
runner/script.deb.sh | sudo bash
cat <<EOF | sudo tee /etc/apt/preferences.d/pin-gitlab-runner.pref
Explanation: Prefer GitLab provided packages over the Debian native ones
Package: gitlab-runner
Pin: origin packages.gitlab.com
Pin-Priority: 1001
EOF
sudo apt-get install gitlab-runner
gitlab-runner register
Runtime platform arch=amd64 os=linux pid=8467 revision=8bb608ff version=11.7.0
Running in system-mode.
Please enter the gitlab-ci coordinator URL (e.g. https://gitlab.com/):
https://gitlab.castris.com/
Please enter the gitlab-ci token for this runner:
zBTcN59V-GGGGGGGGGGG
Please enter the gitlab-ci description for this runner:
[gitlab]: test
Please enter the gitlab-ci tags for this runner (comma separated):
test
ERROR: Registering runner... failed runner=zBTcN59V status=couldn't execute POST against https://gitlab.castris.com/api/v4/runners: Post https://gitlab.castris.com/api/v4/runners: x509: certificate is valid for m169-571.powervow.com, not gitlab.castris.com
PANIC: Failed to register this runner. Perhaps you are having network problems
cat /etc/gitlab-runner/config.toml
concurrent = 1
check_interval = 0
[session_server]
session_timeout = 1800