title: noVNC websockify ssl
body: <p>I am trying to access noVNC through https on my local home sandbox using Websockify on Ubuntu 16 --> <a href="https://ubuntu:6080/vnc.html?host=ubuntu&amp;port=6080" rel="nofollow noreferrer">https://ubuntu:6080/vnc.html?host=ubuntu&amp;port=6080</a></p>
  
  <p>Steps so far taken:</p>
  
  <p>1.Self signed a certificate for testing on my localhost which I can access even though it has a red line through the https b/c of the cert.</p>
  
  <p>2.Downloaded latest noVNC and websockify. </p>
  
  <p>3.Place websockify in utils dir of noVNC.</p>
  
  <p>If I run noVNC via launch.sh:</p>
  
  <pre><code>utils/launch.sh --vnc localhost:5901 --cert ./lib/
  </code></pre>
  
  <p>Where lib has the self signed .key, .pem, and .csr my bash reads:</p>
  
  <pre><code>Starting webserver and WebSockets proxy on port 6080
  WARNING: no 'numpy' module, HyBi protocol will be slower
  WebSocket server settings:
    - Listen on :6080
    - Flash security policy server
    - Web server. Web root: /home/testuser/app/novnc
    - SSL/TLS support
    - proxying from :6080 to localhost:5901
  
  
  Navigate to this URL:
  
      http://ubuntu:6080/vnc.html?host=ubuntu&amp;port=6080
  
  Press Ctrl-C to exit
  </code></pre>
  
  <p>When I go to my browser and load the url shown above I get the vnc.html page. However, when I put https instead of http (my original requirement) I get the following error:</p>
  
  <pre><code>*handler exception: [Errno 336265225] _ssl.c:355: error:140B0009:SSL routines:SSL_CTX_use_PrivateKey_file:PEM lib*
  </code></pre>
  
  <p>Upon further review I have found a <a href="https://stackoverflow.com/questions/10667960/python-requests-throwing-up-sslerror">SO post</a> who directs this same error to a python issue that may be remedied with verify=False. However before I go down a rabbit hole I know nothing about I thought I'd ask if anybody knows why I cannot access noVNC through https?</p>