title: docker private registry: x509: certificate signed by unknown authority error
body: <p>After creating a <strong>private docker registry</strong> on one of my machines, I try to push an image to it but it throws the error: <code>Get &quot;https://host.domain/v2/&quot;: x509: certificate signed by unknown authority</code></p>
  <p>The registry was created according to the <a href="https://docs.docker.com/registry/deploying/#get-a-certificate" rel="nofollow noreferrer">official docker documentation</a>. If I request the same url within safari or chrome, the request gets resolved successfully, showing that the certificate is valid.</p>
  <p>So I'm wondering: <em>what does docker do differently</em> that it can't validate my certificate?</p>
  <p>Many thanks in advice!</p>