Skip to main content
Version: Mosquitto 3.0

Manage Licenses

Download License

Licenses can be downloaded either directly within the subscription of an on-premises broker on the Cedalo platform or at the project level. The project level allows you to download all available licenses in a single bundle, which is especially useful if you have multiple broker licenses within the same project. The license file is utilized for both the broker and the Cedalo platform UI, and by default, the license path for both is the same.

Update License

After successfully downloading the license, locate the path to your existing license file. You can either replace the contents of the existing license file or remove/rename the old license file and add the new one. Ensure that the new license file retains the same name as the previous license file so that it can be recognized.

The new license file will take effect after restarting the services. Depending on your deployment method, the restart process may vary. For Docker deployments, you can use the following command:

docker restart <container_id_or_name>

This restart will occur within seconds. If you prefer not to restart your broker due to a requirement to keep it running, you can use a SIG_HUB command to reload the broker license (and configuration) at runtime.

docker compose kill -s HUP <container_id_or_name>

Cluster license

For cluster setups, the same process as described above applies. It is recommended to update the license one node at a time, starting with the follower nodes. Once the license on a node is successfully updated, you can move on to the next one, finalizing the process on the leader node.

In a scenario where you choose to restart the broker instead of using the SIG_HUB command, an election process will be initiated within the cluster to determine the next leader. This may result in a change of leadership, which is intended behavior. Clients will reconnect to the new leader and continue to function as expected.