Skip to content
Discussion options

You must be logged in to vote

Yes, the way how tls is handled has changed. For umqtt.simple 1.4 you need to pass in the ssl context yourself:

context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
context.verify_mode = ssl.CERT_NONE
client = MQTTClient(client_id=b"kudzai_raspberrypi_picow", server=b"8fbadaf843514ef286a2ae29e80b15a0.s1.eu.hivemq.cloud", port=0, user=b"mydemoclient", password=b"passowrd", keepalive=7200, ssl=context )

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Jcspoza
Comment options

Answer selected by Jcspoza
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants