Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 12 additions & 7 deletions content/manuals/engine/security/protect-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ControlPersist yes

## Use TLS (HTTPS) to protect the Docker daemon socket

If you need Docker to be reachable through HTTP rather than SSH in a safe manner,
If you need Docker to be reachable through HTTPS rather than SSH,
you can enable TLS (HTTPS) by specifying the `tlsverify` flag and pointing Docker's
`tlscacert` flag to a trusted CA certificate.

Expand Down Expand Up @@ -315,12 +315,17 @@ Docker in various other modes by mixing the flags.

#### Client modes

- `tls`: Authenticate server based on public/default CA pool
- `tlsverify`, `tlscacert`: Authenticate server based on given CA
- `tls`, `tlscert`, `tlskey`: Authenticate with client certificate, do not
authenticate server based on given CA
- `tlsverify`, `tlscacert`, `tlscert`, `tlskey`: Authenticate with client
certificate and authenticate server based on given CA
- `tls`: Enable TLS. The client still loads `--tlscacert` (default
`~/.docker/ca.pem`) and fails if that file is missing. It does not use
the system CA pool. Without `--tlsverify`, the daemon certificate is
not verified.
- `tlsverify`, `tlscacert`: Enable TLS and verify the daemon against the
given CA
- `tls`, `tlscert`, `tlskey`: Present a client certificate. Still loads
`--tlscacert` as above. The daemon certificate is not verified unless
`--tlsverify` is also set
- `tlsverify`, `tlscacert`, `tlscert`, `tlskey`: Present a client
certificate and verify the daemon against the given CA

If found, the client sends its client certificate, so you just need
to drop your keys into `~/.docker/{ca,cert,key}.pem`. Alternatively,
Expand Down