github.com/feiyang21687/docker@v1.5.0/docs/sources/articles/https/README.md (about)

     1  
     2  
     3  This is an initial attempt to make it easier to test the examples in the https.md
     4  doc
     5  
     6  at this point, it has to be a manual thing, and I've been running it in boot2docker
     7  
     8  so my process is
     9  
    10  $ boot2docker ssh
    11  $$ git clone https://github.com/docker/docker
    12  $$ cd docker/docs/sources/articles/https
    13  $$ make cert
    14  lots of things to see and manually answer, as openssl wants to be interactive
    15  **NOTE:** make sure you enter the hostname (`boot2docker` in my case) when prompted for `Computer Name`)
    16  $$ sudo make run
    17  
    18  start another terminal
    19  
    20  $ boot2docker ssh
    21  $$ cd docker/docs/sources/articles/https
    22  $$ make client
    23  
    24  the last will connect first with `--tls` and then with `--tlsverify`
    25  
    26  both should succeed