diff --git a/python/tests/integration/test_PROTON_1870_ssl_error_logging.py b/python/tests/integration/test_PROTON_1870_ssl_error_logging.py index c8f17e5aee..87d21414d3 100644 --- a/python/tests/integration/test_PROTON_1870_ssl_error_logging.py +++ b/python/tests/integration/test_PROTON_1870_ssl_error_logging.py @@ -173,7 +173,7 @@ def server(): cert_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1.pem') key_file = os.path.join(self.cwd, 'certificates', 'localhost_ca1-key.pem') - context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) + context = ssl.SSLContext(ssl.PROTOCOL_TLS) context.load_cert_chain(cert_file, key_file) with socket.socket(socket.AF_INET, socket.SOCK_STREAM, 0) as sock: