mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
Previously, the `ssh://` helper was only mentioned in `engine/security/index.md`. The `ssh://` helper is now documented in "Protect the Docker daemon socket" (`engine/security/protect-access.md`, nee `engine/security/https.md`). Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
30 lines
868 B
Markdown
30 lines
868 B
Markdown
---
|
|
published: false
|
|
---
|
|
|
|
This is an initial attempt to make it easier to test the TLS (HTTPS) examples in the protect-access.md
|
|
doc.
|
|
|
|
At this point, it is a manual thing, and I've been running it in boot2docker.
|
|
|
|
My process is as following:
|
|
|
|
$ boot2docker ssh
|
|
root@boot2docker:/# git clone https://github.com/moby/moby
|
|
root@boot2docker:/# cd docker/docs/articles/https
|
|
root@boot2docker:/# make cert
|
|
|
|
lots of things to see and manually answer, as openssl wants to be interactive
|
|
|
|
> **Note**: make sure you enter the hostname (`boot2docker` in my case) when prompted for `Computer Name`)
|
|
|
|
root@boot2docker:/# sudo make run
|
|
|
|
Start another terminal:
|
|
|
|
$ boot2docker ssh
|
|
root@boot2docker:/# cd docker/docs/articles/https
|
|
root@boot2docker:/# make client
|
|
|
|
The last connects first with `--tls` and then with `--tlsverify`, both should succeed.
|