The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/printthread.php 16 require_once



UserSpice
MQTT with SSL Certificate - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Modifications and Hackery (https://userspice.com/forums/forumdisplay.php?fid=29)
+--- Thread: MQTT with SSL Certificate (/showthread.php?tid=1465)



MQTT with SSL Certificate - flo - 05-01-2019

Hey guys, 

I have been tinkering around with MQTT and Userspice lately. Let me say first of all: Really great idea to add MQTT functionality as one of the first plugins! It works like a charm! Thank you guys! 

Now to my question: I have a raspi running the MQTT broker and can send messages through user spice. I have also added a username and password, so not everybody can send messages to my broker. But as far as I understand another level of security would be using a SSL certificate in order for username and password not to be broadcasted in cleartext over the network (I am using MQTT not only on my local network, but deployed the user spice site online using port forwarding to reach the broker...this part is already working). 

How do I user such Certificate and more importantly, does Userspice support that yet? If so, how? Any help would be much appreciated Smile

Thanks a lot guys! 
Flo