Friday, May 22, 2015

What is Mosquitto?

Mosquito is an open source message broker that implements the MQTT version 3.1. The server listens on port 1883, 8883, 8884, and 8885. Port 1883 is standard unencrypted MQTT port and can be used with any MQTT client. Port 8883 and 8884 use certificate based SSL/TLS encryption (TLS 1.1, TLS 1.2) and client support to connect. In the TLS cases, one should use the certificate authority file mosquitto.org.crt to verify the server connection. Port 8883 allows unrestricted connection. Port 8884 requires clients to provide their own certificate to authenticate their connection.  

The binaries and source code for this can be downloaded from the web page given in the references. There are installation files that can be installed on Windows, MAC and a variety of other OSs. There is a client side lib file that libmosquitto that can be included in the iPhone application as well. 

References:

No comments:

Post a Comment