Charalampos Stratakis <cstra...@redhat.com> added the comment:
Getting those failures on RHEL8 as well, which can be worked around by setting the env OPENSSL_CONF=/non-existing-file ====================================================================== ERROR: test_protocol_sslv23 (test.test_ssl.ThreadedTests) Connecting to an SSLv23 server with various client options ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2370, in test_protocol_sslv23 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1, 'TLSv1') File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2103, in try_protocol_combo chatty=False, connectionchatty=False) File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2031, in server_params_test s.connect((HOST, server.port)) File "/root/cpython/_install/lib/python2.7/ssl.py", line 864, in connect self._real_connect(addr, False) File "/root/cpython/_install/lib/python2.7/ssl.py", line 855, in _real_connect self.do_handshake() File "/root/cpython/_install/lib/python2.7/ssl.py", line 828, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727) ====================================================================== ERROR: test_protocol_tlsv1_1 (test.test_ssl.ThreadedTests) Connecting to a TLSv1.1 server with various client options. ---------------------------------------------------------------------- Traceback (most recent call last): File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2444, in test_protocol_tlsv1_1 try_protocol_combo(ssl.PROTOCOL_SSLv23, ssl.PROTOCOL_TLSv1_1, 'TLSv1.1') File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2103, in try_protocol_combo chatty=False, connectionchatty=False) File "/root/cpython/_install/lib/python2.7/test/test_ssl.py", line 2031, in server_params_test s.connect((HOST, server.port)) File "/root/cpython/_install/lib/python2.7/ssl.py", line 864, in connect self._real_connect(addr, False) File "/root/cpython/_install/lib/python2.7/ssl.py", line 855, in _real_connect self.do_handshake() File "/root/cpython/_install/lib/python2.7/ssl.py", line 828, in do_handshake self._sslobj.do_handshake() SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:727) ---------- nosy: +cstratak _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35925> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com