2015-11-22 20:15:39 -05:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
draft = true
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
2015-01-06 19:32:23 -05: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
|
|
|
|
|
|
|
|
so my process is
|
|
|
|
|
|
|
|
$ boot2docker ssh
|
|
|
|
$$ git clone https://github.com/docker/docker
|
2015-06-16 06:14:37 -04:00
|
|
|
$$ cd docker/docs/articles/https
|
2015-01-06 19:32:23 -05:00
|
|
|
$$ 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
|
2015-06-16 06:14:37 -04:00
|
|
|
$$ cd docker/docs/articles/https
|
2015-01-06 19:32:23 -05:00
|
|
|
$$ make client
|
|
|
|
|
|
|
|
the last will connect first with `--tls` and then with `--tlsverify`
|
|
|
|
|
|
|
|
both should succeed
|