Page 1 of 1

RevPiPyload MQTT SSL

Posted: 14 Apr 2022, 15:14
by benaodisee
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!

Re: RevPiPyload MQTT SSL

Posted: 20 Apr 2022, 10:17
by benaodisee
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!

Re: RevPiPyload MQTT SSL

Posted: 22 Apr 2022, 09:37
by kjkoster
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

Re: RevPiPyload MQTT SSL

Posted: 21 Sep 2022, 11:08
by benaodisee
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!