O'Reilly logo

Hands-On MQTT Programming with Python by Gaston C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 and TLS client authentication to publish messages to a topic that matches the topic filter we used for the subscription, sensors/hexacopter25/altitude. We have to make changes to the connection options we used when we enabled TLS. We have to specify the client certificate and client key files. Follow these steps:

  1. Launch MQTT.fx and click Disconnect if you were connected to the Mosquitto MQTT server.
  2. Select local mosquitto in the drop-down located in 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required