github.com/kobeld/docker@v1.12.0-rc1/docs/security/https/README.md (about)

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