Skip to content

Commit

Permalink
Merge pull request docker#900 from joaofnfernandes/trust-dtr-ca
Browse files Browse the repository at this point in the history
Add how to make mac/windows trust DTR
  • Loading branch information
joaofnfernandes authored Dec 15, 2016
2 parents f0bc9da + a11c5ca commit 37993bd
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions datacenter/dtr/2.1/guides/repos-and-images/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ self-signed certificates, you need to configure your Docker Engine to trust DTR.
Otherwise, when you try to login or push and pull images to DTR, you'll get an
error:

```bash
$ docker login <dtr-domain-name>
```none
$ docker login dtr.example.org
x509: certificate signed by unknown authority
```
Expand All @@ -25,6 +25,19 @@ system to trust that certificate.

## Configure your host

### macOS

In your browser navigate to `https://<dtr-url>/ca` to download the TLS
certificate used by DTR. Then
[add that certificate to the macOS trust store](https://support.apple.com/kb/PH18677?locale=en_US).

### Windows

In your browser navigate to `https://<dtr-url>/ca` to download the TLS
certificate used by DTR. Then
[add that certificate to the Windows trust store](https://technet.microsoft.com/en-us/library/cc754841(v=ws.11).aspx).


### Ubuntu/ Debian

```bash
Expand Down Expand Up @@ -90,7 +103,7 @@ To validate that your Docker daemon trusts DTR, trying authenticating against
DTR.

```bash
$ docker login <dtr-domain-name>
docker login dtr.example.org
```

## Where to go next
Expand Down

0 comments on commit 37993bd

Please sign in to comment.