I\'m new to Tornado and web services in general. In my application, I\'ve Qt/c++ client and python Tornado on server side. The Qt client sends commands in the form of text messa
Pass the ssl_options
argument when constructing your HTTPServer
:
ssl_ctx = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
ssl_ctx.load_cert_chain(os.path.join(data_dir, "mydomain.crt"),
os.path.join(data_dir, "mydomain.key"))
HTTPServer(applicaton, ssl_options=ssl_ctx)
http://www.tornadoweb.org/en/stable/httpserver.html#http-server