gitlab-ci runner注册失败问题

 

 

 

解决方法:添加自签名https证书到centos系统信任的问题

通过 openssl 查看证书信息,openssl s_client -showcerts -connect git.baimaohui.net:443

 

 

添加到信任文件中,root也没写权限先加上

chmod u+w /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem

然后直接编辑文件,将证书内容添加到末尾,再次注册runner即可

posted @ 2021-07-12 11:53  别动让左佐来  阅读(334)  评论(0编辑  收藏  举报