docker certificates

x509: certificate is valid for mmtrkjy.com, *.mmtrkjy.com, *.mmtrkmc.com, *.mmtrkpd.com, *.mmtrksg.com, *.mmtrksk.com, mmtrkmc.com, mmtrkpd.com, mmtrksg.com, mmtrksk.com, not registry-1.docker.io

 

 

@sirlatrom The problem was solved by installing sertificate to
/usr/share/ca-certificates/extra/
and adding it using tool
sudo dpkg-reconfigure ca-certificates

Thanks for your help!

 
或者
  • on CentOS:

    sudo cp yourcert.crt /etc/pki/ca-trust/source/anchors/
    sudo update-ca-trust extract
    sudo service docker restart
    
  • on Debian:

    sudo cp yourcert.crt /usr/local/share/ca-certificates/
    sudo update-ca-certificates
    sudo service docker restart
    
posted @ 2015-12-08 13:31  jvava  阅读(619)  评论(0编辑  收藏  举报