This document describes the way to connect to MQTT broker with SSL method in Dusun gateway.
1. Log in the gateway with the IP obtained from the superior router, in my case it’s 192.168.0.78, the user name: root, password : root
2. Go to the LUCI page for mqtt configuration, type in the mqtt broker ip, port, user name, password and set the SSL option to ssl encrypt.
Then click save and apply, thus the gateway has been already connected to your desired mqtt broker.
3. In order to check the status, open the MQTT.fx program to subscribe from the same broker and the topic ‘t ’ where the gateway publish the data to.
It can be seen the broker has received the message from the gateway and the MQTT.fx client can subscribe it from the built topic