Testing the MQTT TLS configuration with GUI tools

Now, we will use the MQTT.fx GUI utility to generate another MQTT client that uses an encrypted connection to publish messages to the same topic: sensors/octocopter01/altitude. We have to make changes to the connection options to enable TLS and specify the certificate authority certificate file. Follow these steps:

  1. Launch MQTT.fx, select local mosquitto in the drop-down located at the upper-left corner, and click on the configuration icon at the right-hand side of this drop-down and at the left-hand side of the Connect button. MQTT.fx will display the Edit Connection Profiles dialog box with different options for the connection profile named local mosquitto.
  2. Go to the Broker Address textbox ...

Get Hands-On MQTT Programming with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.