What about a secure mqtt client #7656
Replies: 1 comment
-
Posted at 2024-04-15 by @gfwilliams Yes, I think you can do it fine on the Pico as you have TLS there? it's literally just MQTT but over TLS https://www.espruino.com/Reference#tls Not tried recently, but this should work:
certs can now be in storage too. If this works please can you let me know? It'd be nice to add to the MQTT page Posted at 2024-04-15 by @MaBecker Thanks for sharing, will definitly give it a try. Posted at 2024-04-28 by @MaBecker ok, back with some update: The test was to connect to test.mosquitto.org and it did not work beause this site does not support TLS 1.0 which can be checked with Does anyone know a public mqtt test broker that still support TLS 1.0? Edit: broker.hivemq.com still supports TLS 1.0 Posted at 2024-04-29 by @gfwilliams I wasn't aware of this being an issue - do you think upgrading mbedtls would help with this? Posted at 2024-04-29 by @MaBecker
yes, definitely |
Beta Was this translation helpful? Give feedback.
-
Posted at 2024-04-15 by @MaBecker
Is there already the possibility to do secure mqtt connection? Have a Pico with a wiz module for Ethernet on my desk and would like to use mqtt secure with providing CA as pem like possible as command like this:
Any hints or howto?
Beta Was this translation helpful? Give feedback.
All reactions