I would use ngnix for ssl termination rather than depend on an app server.
Also, setting cert_reqs to ssl.CERT_REQUIRED means your server will
ask for client certificates too - this is probably not what you want.
-Ben
-Ben
http_server = tornado.httpserver.HTTPServer(application,
ssl_options={
"certfile": os.path.join("./", "cert.pem"),
"keyfile": os.path.join("./", "key.pem"),
})
if __name__ == "__main__":
http_server.listen(8888)
tornado.ioloop.IOLoop.instance().start()
How did you generate these certificate and key in .pem format, I'm having same issue like you but im using .crt and .key formats. Its not working for me.
--
You received this message because you are subscribed to the Google Groups "Tornado Web Server" group.
To unsubscribe from this group and stop receiving emails from it, send an email to python-tornad...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/python-tornado/882c9e40-e27f-4d69-bc91-4121940705a4%40googlegroups.com.