docs/engine/security/https
Misty Stanley-Jones e916f7f88e Change 'draft: true' to 'published: false' for Jekyll 2016-10-10 16:19:47 -07:00
..
Dockerfile Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
Makefile Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
README.md Change 'draft: true' to 'published: false' for Jekyll 2016-10-10 16:19:47 -07:00
make_certs.sh Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07:00
parsedocs.sh Convert TOML to YAML, tweaks to work with Jekyll 2016-09-29 17:16:03 -07: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 has to be 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/docker/docker
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 will connect first with --tls and then with --tlsverify, both should succeed.