title: How to create HTTPS tornado server
body: <p>Please help me to create HTTPS tornado server
  My current code Python3 doesn't work</p>
  
  <pre><code>import os, socket, ssl, pprint, tornado.ioloop, tornado.web, tornado.httpserver
  from tornado.tcpserver import TCPServer
  
  class getToken(tornado.web.RequestHandler):
      def get(self):
          self.write("hello")
  
  application = tornado.web.Application([
      (r'/', getToken),
  ])
  
  # implementation for SSL
  http_server = tornado.httpserver.HTTPServer(application)
  
  TCPServer(ssl_options={
      "certfile": os.path.join("/var/pyTest/keys/", "ca.csr"),
      "keyfile": os.path.join("/var/pyTest/keys/", "ca.key"),
  })
  
  if __name__ == '__main__':
      #http_server.listen(8888)
      http_server = TCPServer()
      http_server.listen(443)
      tornado.ioloop.IOLoop.instance().start()
  </code></pre>
  
  <p>HTTPS is very important for me, please help</p>