summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClark Laughlin <clark.laughlin@linaro.org>2015-10-27 14:12:30 -0400
committerClark Laughlin <clark.laughlin@linaro.org>2015-10-27 14:12:30 -0400
commitb5795975dbb05a4cc039ed03fdb945d229e2e483 (patch)
tree38abd20c9a1b32196336efda26c751a69355342e
parenta6f7e953d74b47d3c281c5facc37582115eebb1f (diff)
index.html: add instructions for handling unknown CA
-rw-r--r--registry-browser/static/index.html28
1 files changed, 27 insertions, 1 deletions
diff --git a/registry-browser/static/index.html b/registry-browser/static/index.html
index d0b5b50..cbf4ba7 100644
--- a/registry-browser/static/index.html
+++ b/registry-browser/static/index.html
@@ -22,6 +22,14 @@
font-weight: 200;
}
+ blockquote {
+ font-family: courier;
+ margin-left: 20px;
+ padding: 10px;
+ background-color: #eeeeee;
+ border-left: 3px solid #99c747;
+ }
+
.list {
margin: 0;
padding: 20px 0 0;
@@ -130,7 +138,25 @@ i.e.<br/><br/>
<code>docker pull docker-registry.linaro.org/<b><i>centos7:latest</i></b></code>
</p>
-<br/><br/>
+<br/>
+<br/>
+
+<p>You may receive an error from your Docker client regarding an unknown CA certificate:
+<blockquote>
+Error response from daemon:<br/>
+v2 ping attempt failed with error: Get https://docker-registry.linaro.org/v2/: x509: certificate signed by unknown authority<br/>
+v1 ping attempt failed with error: Get https://docker-registry.linaro.org/v1/_ping: x509: certificate signed by unknown authority. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry docker-registry.linaro.org` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/docker-registry.linaro.org/ca.crt
+</blockquote>
+To resolve this issue:
+<ol>
+ <li>Retrieve the "GoDaddy Certificate Bundles - G2" from this page <a target="_blank" href="https://certs.godaddy.com/repository">https://certs.godaddy.com/repository</a> (<a href="https://certs.godaddy.com/repository/gd_bundle-g2.crt">direct link</a>)
+ <li>Place it in a file named <code>/etc/docker/certs.d/docker-registry.linaro.org/ca.crt</code> on your system
+ <li>Restart the Docker daemon
+</ol>
+</p>
+
+<br/>
+<br/>
<h2>Available Images</h2>