This GIST trying to demonstrates how to set up a Python server and client to support TLS 1.1, including the necessary configurations to bypass the default security restrictions.
Due to security concerns https://bugs.python.org/issue43998 and python/cpython#25778, TLS 1.0 and TLS 1.1 are deprecated and disabled by default in many environments. However, there are scenarios where you might need to support these older protocols. This GIST trying to provides a workaround to enable TLS 1.1 using Python and OpenSSL.