[issue41561] test_ssl fails in Ubuntu 20.04: test_min_max_version_mismatch
Vladyslav Bondar
report at bugs.python.org
Fri Sep 11 05:10:30 EDT 2020
Vladyslav Bondar <lemurchik at gmail.com> added the comment:
This is about openssl configuration in Ubuntu. In the latest Ubuntu, they disabled TLS 1.0/1.1.
So to enable it back there is a workaround (taken from StackOverflow):
You should modify openssl config: /etc/ssl/openssl.cnf
You need to add this to the beginning of your config file:
openssl_conf = default_conf
And then this to the end:
[ default_conf ]
ssl_conf = ssl_sect
[ssl_sect]
system_default = ssl_default_sect
[ssl_default_sect]
MinProtocol = None
CipherString = DEFAULT:@SECLEVEL=1
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41561>
_______________________________________
More information about the Python-bugs-list
mailing list