OpenSSL.SSL' has no attribute 'TLSv1_3_METHOD

22 views
Skip to first unread message

Byron Edwards

unread,
Feb 19, 2023, 8:25:55 AM2/19/23
to MQTT
EDIT2: I have gotten the site working, but my python file that I use to connect to the mqtt broker, doesn't want to support tlsv3 and it errors out, I'm using openssl 1.1.1.n and it still doesn't want to, it says AttributeError: module 'OpenSSL.SSL' has no attribute 'TLSv1_3_METHOD' Please help me fix this

Gambit Communications

unread,
Mar 17, 2023, 10:18:29 AM3/17/23
to MQTT
I am running one of our clients https://github.com/gambitcomminc/monitor-thresh with freshly installed paho-mqtt
on Rocky Linux 8 and it uses TLS1.3 against a broker that supports it as verified by wireshark.
Our client does

client.tls_set(ca_certs=main.cafile, certfile=main.certfile, keyfile=main.keyfile, tls_version=ssl.PROTOCOL_SSLv23, cert_reqs=main.required)
Reply all
Reply to author
Forward
0 new messages