All supported Python versions have deprecated TLS version specific configurations. Deprecated since version 3.6: OpenSSL has deprecated all version specific protocols. Clients should always use: `ssl.PROTOCOL_TLS_CLIENT` Servers should always use: `ssl.PROTOCOL_TLS_SERVER` https://docs.python.org/dev/library/ssl.html