Hi,
I'm using RevPiPyload on my RevPi Core3 to forward the measurements of the RevPi to a server using MQTT.
This is currently still insecure and I want to add some security by sending the messages with encryption (SSL).
Is there documentation on how to achieve this with the RevPiPyload?
I failed to find some.
Thanks!
RevPiPyload MQTT SSL
-
- Posts: 14
- Joined: 14 Apr 2022, 15:03
Hi, does somebody have any idea on this if it is possible or not?
Otherwise I will have to start searching for an alternative
Thanks!
Otherwise I will have to start searching for an alternative
Thanks!
Dear benaodisee,
In /etc/revpipyload/revpipyload.conf there are two flags that strike me as relevant: "tls_set = 0" and "port = 1883". You might try setting "tls_set = 1" and set the port to the secure port of your MQTT broker (typically 8883, but your broker's configuration will tell you) and test connectivity (don't forget to check for firewalls in the signal path).
Curious to hear how that works out for you.
Kees Jan
In /etc/revpipyload/revpipyload.conf there are two flags that strike me as relevant: "tls_set = 0" and "port = 1883". You might try setting "tls_set = 1" and set the port to the secure port of your MQTT broker (typically 8883, but your broker's configuration will tell you) and test connectivity (don't forget to check for firewalls in the signal path).
Curious to hear how that works out for you.
Kees Jan
-
- Posts: 14
- Joined: 14 Apr 2022, 15:03
Short update: I managed to get this working by setting the tls_set to 1 and also adjusting the port to 8883. Then I also had to add the certificate to cert-store of the RevPi!