I am trying to setup a tls context in python. I want to force TLSv1.3 usng:
context = ssl.SSLContext(ssl.PROTOCOL_TLSv1_3)
This does not work as I receive the following error:
AttributeError: module 'ssl' has no attribute 'PROTOCOL_TLSv1_3'
I am on Ubuntu 20.04 and am using python version 3.8 and openssl version 1.1.1f.
Why doesn't it support TLSv1.3?