RevPiPyload MQTT SSL

Topics about the Software of Revolution Pi
Post Reply
benaodisee
Posts: 14
Joined: 14 Apr 2022, 15:03

RevPiPyload MQTT SSL

Post 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!
benaodisee
Posts: 14
Joined: 14 Apr 2022, 15:03

Re: RevPiPyload MQTT SSL

Post 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!
kjkoster
Posts: 87
Joined: 12 Feb 2022, 10:42

Re: RevPiPyload MQTT SSL

Post 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
benaodisee
Posts: 14
Joined: 14 Apr 2022, 15:03

Re: RevPiPyload MQTT SSL

Post 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!
Post Reply