1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/docs/security/https
Sebastiaan van Stijn 99ed95cb57 Merge pull request #26526 from lixiaobing10051267/masterSymble
fix some incorrect symbols before executing command
(cherry picked from commit 9e9ba1e1c1)

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
2016-09-16 10:03:13 -07:00
..
Dockerfile Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00
make_certs.sh Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00
Makefile Merge pull request #25996 from yuexiao-wang/fix-docker-daemon 2016-09-06 11:06:57 -07:00
parsedocs.sh Fixing missing certs article; consolidating security material 2016-01-22 16:44:18 -08:00
README.md Merge pull request #26526 from lixiaobing10051267/masterSymble 2016-09-16 10:03:13 -07:00

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.