moby--moby/docs/security/https
yuexiao-wang 530668cb22 Replace docker command from 'docker daemon' to 'dockerd'
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2016-08-25 17:04:44 +08:00
..
Dockerfile Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00
Makefile Replace docker command from 'docker daemon' to 'dockerd' 2016-08-25 17:04:44 +08:00
README.md Fix doc format issue 2016-02-23 03:42:10 +00:00
make_certs.sh Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00
parsedocs.sh Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00

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.