1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/sources/articles/https/README.md
Sven Dowideit cf27b310c4 Add a containerised test for the https cert doc
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
2015-01-07 16:19:47 +10:00

700 B

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