I'm fresh to the whole MQTT scene and have come here from a step in my OpenHAB journey - integrating OwnTracks for presence detection.
I'm running a RPi and have Mosquitto installed and working, but without any security.
I'm working on building Arduino based sensors for home that'll feed data to the RPi via MQTT (once I can find a reliable comms method after having poor reliability with W5100 shields...). As far as I'm aware, the Arduino MQTT libraries don't support TLS, and given my external OwnTracks integration, I DO need TLS on that side.
I presume it's possible to have Mosquitto running in both TLS and non-TLS modes on 8883 and 1883 respectively. The Arduinos can chat 'unprotected' locally on the LAN at home and then I can open the MQTT-TLS port on my router to let external traffic in to my broker. Am I on the right track?
Secondly, I still need to get Mosquitto secured and am struggling to find a simple guide or tutorial on how to get that nailed - easily. I have obtained a free certificate from StartSSL and I can't find a simple, idiots guide to getting TLS enabled using my cert.