自建harbor仓库ssl证书过期之后,更换了ssl证书。jenkins流水线无法登录harbor镜像仓库、且无法拉取镜像时报,报错信息如下:Error response from daemon: Get "https://xx.xx.xx/v2/": x509: certificate signed by unknown authority
让docker信任harbor的CA证书
mkdir -p /etc/docker/certs.d/harbor.tqsys.cn (这里需要根据自己的harbor地址) cp ca.crt /etc/docker/certs.d/harbor.tqsys.cn(这里需要根据自己的harbor地址)
最后重启docker
systemctl daemon-reload systemctl restart docker
标签:daemon,certificate,证书,harbor,authority,xx,docker From: https://www.cnblogs.com/yang5726685/p/16857262.html