This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author christian.heimes
Recipients Vladyslav.Bondar, bugsrep, christian.heimes, skip.montanaro, taleinat, xtreak
Date 2020-09-19.09:47:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1600508825.7.0.116741146888.issue41561@roundup.psfhosted.org>
In-reply-to
Content
It's starting to look like a misconfiguration in either Ubuntu's OpenSSL build or your system. has_tls_version() checks compile time options and runtime configuration options. It should detect that TLS 1.1 and 1.0 are not available. "[SSL] internal error" also points to an unusual error condition that should never be triggered by these tests.

Please run this on your system:

import ssl
print((ssl.HAS_TLSv1, ssl.HAS_TLSv1_1, ssl.HAS_TLSv1_2, ssl.HAS_TLSv1_3))
print(ssl.SSLContext().maximum_version)
print(ssl.SSLContext().minimum_version)
History
Date User Action Args
2020-09-19 09:47:05christian.heimessetrecipients: + christian.heimes, skip.montanaro, taleinat, Vladyslav.Bondar, xtreak, bugsrep
2020-09-19 09:47:05christian.heimessetmessageid: <1600508825.7.0.116741146888.issue41561@roundup.psfhosted.org>
2020-09-19 09:47:05christian.heimeslinkissue41561 messages
2020-09-19 09:47:05christian.heimescreate