仅列出标题 列出摘要

docker pull certification error

export DOMAIN_NAME=<my-dtr-domain>

    echo -n | openssl s_client -showcerts -connect itapregistry.a1.vary.redhat.com:443 2>/dev/null |sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' >> /etc/pki/ca-trust/source/anchors/$DOMAIN_NAME.crt

update-ca-trust
/bin/systemctl restart docker.service
posted on 2016-12-13 13:28  baoyiluo  阅读(265)  评论(0编辑  收藏  举报