Docker-Docs/engine/security/https
YuCheng Hu e8587dc33f init submit all files 2020-11-18 13:32:27 -05:00
..
Dockerfile init submit all files 2020-11-18 13:32:27 -05:00
Makefile init submit all files 2020-11-18 13:32:27 -05:00
README.md init submit all files 2020-11-18 13:32:27 -05:00
make_certs.sh init submit all files 2020-11-18 13:32:27 -05:00
parsedocs.sh init submit all files 2020-11-18 13:32:27 -05:00

README.md

published
false

This is an initial attempt to make it easier to test the examples in the https.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.