<p>Hi i'm new on kubernetes and i'm trying to get a docker registry working on a kubernetes cluster.</p>

<p>I created a cluster on 3 nodes with vagrant in my laptop and kubespray.
Then followed this tutorial : </p>

<blockquote>
  <p><a href="https://www.civo.com/learn/set-up-a-private-docker-registry-with-tls-on-kubernetes" rel="nofollow noreferrer">https://www.civo.com/learn/set-up-a-private-docker-registry-with-tls-on-kubernetes</a></p>
</blockquote>

<p>My first error at the end was that my certificate x509 was valid for "ingress.local" and not myDomainName.com in my ingress.yaml file. 
So i tested to reinstall with "- host: ingress.local" instead of "- host: myDomainName.com" in the ingress.yaml file. </p>

<p>But now i'm getting : </p>

<blockquote>
  <p>Error response from daemon: Get <a href="https://ingress.local/v2/" rel="nofollow noreferrer">https://ingress.local/v2/</a>: x509:
  certificate signed by unknown authority</p>
</blockquote>

<p>I do not have a domain name so to test i added this mapping on my hosts file : </p>

<pre><code>192.168.50.11 ingress.local
</code></pre>

<p>Where 192.168.50.11 is a node ip</p>

<p>and finally when i run </p>

<blockquote>
  <p>kubectl get cert -n default
  i'm gettind
   No resources found.</p>
</blockquote>

<p>I really don't know where to start to investigate </p>

<p>Thanks for any help</p>

jio
<p><code>x509: certificate signed by unknown authority</code> means the certificate authority which signed is not known. Letsencrypt needs a valid registered domain because it will validate the domain ownership and then issue the certificate valid for that domain only. Since you don't have a valid registered domain this is not working.</p>
