moby--moby/docs/sources/articles/https
Sven Dowideit 49d1ab0eb2 update the test code to enable testing the extra info
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
2015-02-12 12:39:41 +10:00
..
Dockerfile update the test code to enable testing the extra info 2015-02-12 12:39:41 +10:00
Makefile update the test code to enable testing the extra info 2015-02-12 12:39:41 +10:00
README.md
make_certs.sh update the test code to enable testing the extra info 2015-02-12 12:39:41 +10:00
parsedocs.sh comment out the docker and curl lines we'll run later 2015-01-23 12:31:39 +10: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

so my process is

$ boot2docker ssh

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

the last will connect first with `--tls` and then with `--tlsverify`

both should succeed