title: certificate signed by unknown authority when docker pull
body: <p>I set the docker private registry with self cirtification</p>
  
  <p>For now, it works with <code>curl</code></p>
  
  <pre><code>curl https://docker.mysite.jp:5000/v2/ --cacert /etc/docker/certs.d/docker.mysite.jp\:5000/ca.crt
  </code></pre>
  
  <p>then I am testing docker pull.</p>
  
  <p>It shows error.</p>
  
  <p><code>certificate signed by unknown authority</code></p>
  
  <pre><code>$docker image push docker.mysite.jp:5000/myapp/nginx:latest
  The push refers to repository [docker.mysite.jp:5000/myapp/nginx]
  Get https://docker.mysite.jp:5000/v2/: x509: certificate signed by unknown authority
  </code></pre>
  
  <p>I think it means docker repository dosen't accept self-certificate ?? Is there any work around? or the problem of my localhost(mac OSX)??</p>