Ability to configure TLS version and cipher suites
As far as I am aware, Tornado inherits the default Python TLS cipher suites and does not allow configurability. This is an issue for many organizations as TLSv1.0 and TLSv1.1 are deemed insecure.
Is it possible to force TLSv1.2 only, and ideally configure the cipher suites?
tornado.httpserver.HTTPServer takes an ssl_options kwarg which can be an ssl.SSLContext in which tls-1.2-only can be configured.
The tornado simple_httpclient also supports an ssl_options kwarg set on a tornado.httpclient.HTTPRequest, while the curl_httpclient supports a prepare_curl_callback kwarg which you can use to set arbitrary pycurl options, including some tls configuration.
Thank you. Using your guidance, we were able to enable TLSv1.2.