首页 > 系统相关 >Centos7_docker509错误

Centos7_docker509错误

时间:2022-10-08 09:25:28浏览次数:55  
标签:错误 CERTIFICATE docker509 ca Centos7 registry io docker trust

CentOS7 Docker x509: certificate signed by unknown authority 解决方案
registry-1.docker.io/v2/
1.
echo -n | openssl s_client -showcerts -connect registry-1.docker.io:443 2>/dev/null |
sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p'

/etc/pki/ca-trust/source/anchors/

update-ca-trust

systemctl restart docker

标签:错误,CERTIFICATE,docker509,ca,Centos7,registry,io,docker,trust
From: https://www.cnblogs.com/hzp-1/p/16767924.html

相关文章