Skip to content

Commit e0ff65e

Browse files
clocklearMisty Stanley-Jones
authored and
Misty Stanley-Jones
committed
Provide a bit more context around where commands should be executed. Fixes docker#995. (docker#2920)
1 parent dc19f39 commit e0ff65e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

engine/security/https.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ it will only connect to servers with a certificate signed by that CA.
3232
> **Note**: replace all instances of `$HOST` in the following example with the
3333
> DNS name of your Docker daemon's host.
3434
35-
First generate CA private and public keys:
35+
First, on the **Docker daemon's host machine**, generate CA private and public keys:
3636

3737
$ openssl genrsa -aes256 -out ca-key.pem 4096
3838
Generating RSA private key, 4096 bit long modulus
@@ -90,6 +90,9 @@ using `10.10.10.20` and `127.0.0.1`:
9090
For client authentication, create a client key and certificate signing
9191
request:
9292

93+
> **Note:** for simplicity of the next couple of steps, you may perform this
94+
> step on the Docker daemon's host machine as well.
95+
9396
$ openssl genrsa -out key.pem 4096
9497
Generating RSA private key, 4096 bit long modulus
9598
.........................................................++
@@ -138,6 +141,10 @@ providing a certificate trusted by our CA:
138141
To be able to connect to Docker and validate its certificate, you now
139142
need to provide your client keys, certificates and trusted CA:
140143

144+
> **Note**: This step should be run on your Docker client machine. As such, you
145+
> need to copy your CA certificate, your server certificate, and your client
146+
> certificate to that machine.
147+
141148
> **Note**: replace all instances of `$HOST` in the following example with the
142149
> DNS name of your Docker daemon's host.
143150

0 commit comments

Comments
 (0)