zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Gitlab-ci 构建

2023-02-18 16:44:44 时间
  1. x509: cannot validate certificate for 10.10.1.33 because it doesn't contain any IP SANs. gitlab-runner注册时发生问题

原因:服务端证书有问题。我使用的是自建的gitlab服务器,服务器上的证书差了一个属性。打印出来需要包含如下属性:

$ openssl x509 -text -noout -in  10.10.1.33.crt
            ...
            X509v3 Subject Alternative Name: 
                IP Address:10.10.1.33

重新生成证书后,问题解决。