docs/content/engine/security/https
David Karlsson 15e9e1e694 hugo: run migration script
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
2023-08-22 09:42:25 +02:00
..
Dockerfile migrate to hugo 2023-08-22 09:41:02 +02:00
Makefile migrate to hugo 2023-08-22 09:41:02 +02:00
README.md hugo: run migration script 2023-08-22 09:42:25 +02:00
make_certs.sh migrate to hugo 2023-08-22 09:41:02 +02:00
parsedocs.sh migrate to hugo 2023-08-22 09:41:02 +02:00

README.md

published
false

This is an initial attempt to make it easier to test the TLS (HTTPS) examples in the protect-access.md doc.

At this point, it is 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/moby/moby
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 connects first with --tls and then with --tlsverify, both should succeed.