title: How to run a Flask app on CherryPy WSGI server (Cheroot) using HTTPS?
body: <p>I am running a Python 2.7 Flask app on CherryPy Cheroot WSGI server usinh HTTP now as below.</p>
  
  <pre><code>from cheroot.wsgi import Server as WSGIServer
  from cheroot.wsgi import PathInfoDispatcher as WSGIPathInfoDispatcher
  
  from MyFlaskApp import app
  
  d = WSGIPathInfoDispatcher({'/': app})
  server = WSGIServer(('0.0.0.0', 80), d)
  
  if __name__ == '__main__':
     try:
        server.start()
     except KeyboardInterrupt:
        server.stop()
  </code></pre>
  
  <p>What would I have to to move to HTTPS from here?
  I found below instruction, but it does not seem to applicable to my application.</p>
  
  <pre><code>from cheroot.server import HTTPServer
  from cheroot.ssl.builtin import BuiltinSSLAdapter
  
  HTTPServer.ssl_adapter = BuiltinSSLAdapter(
          certificate='cert/domain.crt', 
          private_key='cert/domain.key')
  </code></pre>
  
  <p>Can I apply above sample to my Flask app on Cheroot?  If not, what would be a simple example for Flask app on Cheroot for HTTPS?</p>