April 2017
Intermediate to advanced
280 pages
6h 18m
English
Now, we will configure Mosquitto to work with WebSockets. First, we will work with WebSockets without TLS, and therefore, the communications between the client and Mosquitto through WebSockets will be unsecure. This way, any client that knows the host name and port will be able to establish a communication with the Mosquitto server.
In case you are running the Mosquitto server in a Terminal window in macOS or Linux, press Ctrl+C to stop it. In Windows, stop the appropriate service.
Go to the Mosquitto installation directory and open the mosquitto.conf configuration file. In Chapter 2, Securing an MQTT Mosquitto Server, we learned that it is a good practice to make a backup copy of the existing mosquitto.conf ...
Read now
Unlock full access