Configure Mosquitto Bridge With SSL Encryption

It is very likely that a bridged connection between two brokers will be encrypted. The Mosquitto broker (server) provides two methods of using SSL encryption on a bridged connection Certificate encryption PSK encryption In this tutorial we will be configuring a secure bridged connection using both methods. If you are new to certificates then you should read this tutorial on SSL encryption and certificates before continuing.

Continue reading »

Mosquitto MQTT Bridge-Usage and Configuration

The Mosquiito broker (server) can be configured to work as an MQTT bridge. A bridge lets you connect two MQTT brokers together. They are generally used for sharing messages between systems. A common usage is connect edge MQTT brokers to a central or remote MQTT network.

Continue reading »

Mosquitto SSL Configuration -MQTT TLS Security

In this tutorial we will configure the mosquitto MQTT broker to use TLS security. We will be using openssl to create our own Certificate authority (CA), Server keys and certificates. We will also test the broker by using the Paho Python client to connect to the broker using a SSL connection. You should have a basic understanding of PKI, certificates and keys before proceeding. See SSL and SSL Certificates Explained

Continue reading »

Mosquitto Username and Password Authentication -Configuration and Testing

The Mosquitto MQTT broker can be configured to require client authentication using a valid username and password before a connection is permitted. The username and password combination is transmitted in clear text, and is not secure without some form of transport encryption.(SSL) However using username and password authentication does provide an easy way of restricting access to a broker.

Continue reading »