Kai Qiang Wu(Kennan) 4d4d1e7f82 Fix doc format issue 9 vuotta sitten
..
Dockerfile 4c76c665b7 Fixing missing certs article; consolidating security material 9 vuotta sitten
Makefile 4c76c665b7 Fixing missing certs article; consolidating security material 9 vuotta sitten
README.md 4d4d1e7f82 Fix doc format issue 9 vuotta sitten
make_certs.sh 4c76c665b7 Fixing missing certs article; consolidating security material 9 vuotta sitten
parsedocs.sh 4c76c665b7 Fixing missing certs article; consolidating security material 9 vuotta sitten

README.md

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
$$ git clone https://github.com/docker/docker
$$ cd docker/docs/articles/https
$$ 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)

$$ sudo make run

Start another terminal:

$ boot2docker ssh
$$ cd docker/docs/articles/https
$$ make client

The last will connect first with --tls and then with --tlsverify, both should succeed.