Docker registry login fails with “Certificate signed by unknown authority”

后端 未结 4 2190
野趣味
野趣味 2021-02-05 06:19

I\'m am running a private docker registry on ubuntu using S3 for storage. I\'m having issues getting docker login/push/pull commands to work over SSL. I\'m using Nginx in fron

4条回答
  •  南笙
    南笙 (楼主)
    2021-02-05 06:39

    For RHEL hosts, you can add the CA cert to the PKI CA list on the client host:

    cp docker-registry.crt /etc/pki/ca-trust/source/anchors/docker-registry.crt
    update-ca-trust
    systemctl restart docker
    

    From https://www.happyassassin.net/2014/09/06/adding-your-freeipa-servers-ca-certificate-to-the-system-wide-trust-store-on-fedora-and-rhel/

提交回复
热议问题