Docker Community Forums

Share and learn in the Docker community.

Docker Desktop Registries with Self-Signed Certs

Guys, I am use Docker Desktop CE 19.03.8 on Windows 10 1909. I have several private registries (hosted in Openshift) using self-signed certs. When I try to login to them I get the message:

  • x509: certificate signed by unknown authority

So I can add them into the insecure-registries section of the file C:\ProgramData\Docker\config\daemon.json and this seems to resolve. Is there a way to trust the self-signed cert CA though rather than adding each private repository to this file?