This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to implement MQTT w/ SSL or other encryption?

Other Parts Discussed in Thread: CC3100

Hi,


I recently was able to get some time to prototype a simple IoT MQTT system where I can successfully publish and subscribe simple messages to a CloudMQTT test server w/ an MSP432 launchpad and CC3100 booster pack.  I eventually want to control some MCU functions via MQTT messages and forsee multiple users with multiple devices all wanting to control their own personal device.  I want to make sure there are no mistakes or malicious hacks that causes a person who does not own a device to gain control over it.

So, I want to implement MQTT with some sort of SSL and username/password convention.  I have looked around for some hints for a few days, but havent found any examples that show how to do something similar.

The broker I am using, CloudMQTT, has built in SSL, all I need to do is change the port I am connecting to.  However, it looks like the MQTT library I am using does not support SSL.

Does anyone have any examples they can point me to?

Any help would be greatly appreciated.

Thanks in advance,

Justin