From b27d479ad53bd62626228199b4f5a0c0fe0cd69f Mon Sep 17 00:00:00 2001 From: Avi Miller Date: Wed, 25 Nov 2015 10:30:12 +1100 Subject: [PATCH 1/2] Adding additional comment to enable the shared system certificates store. Signed-off-by: Avi Miller --- docs/insecure.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/insecure.md b/docs/insecure.md index 7d4ea3175..9eabb3782 100644 --- a/docs/insecure.md +++ b/docs/insecure.md @@ -78,9 +78,12 @@ Usually, on Ubuntu this is done with: cp auth/domain.crt /usr/local/share/ca-certificates/myregistrydomain.com.crt update-ca-certificates -... and on RedHat with: +... and on Red Hat (and its derivatives) with: cp auth/domain.crt /etc/pki/ca-trust/source/anchors/myregistrydomain.com.crt update-ca-trust +... On some distributions, e.g. Oracle Linux 6, the Shared System Certificates feature needs to be manually enabled: + $ sudo update-ca-trust enable + Now restart docker (`service docker stop && service docker start`, or any other way you use to restart docker). From a7199f5d7c82a759219df6415409450170bbea38 Mon Sep 17 00:00:00 2001 From: Avi Miller Date: Wed, 25 Nov 2015 10:41:40 +1100 Subject: [PATCH 2/2] Fixed whitespace and made the command consistent with the other examples. Signed-off-by: Avi Miller --- docs/insecure.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/insecure.md b/docs/insecure.md index 9eabb3782..9ccb54196 100644 --- a/docs/insecure.md +++ b/docs/insecure.md @@ -84,6 +84,7 @@ Usually, on Ubuntu this is done with: update-ca-trust ... On some distributions, e.g. Oracle Linux 6, the Shared System Certificates feature needs to be manually enabled: - $ sudo update-ca-trust enable + + update-ca-trust enable Now restart docker (`service docker stop && service docker start`, or any other way you use to restart docker).