Completing an empty MQTT broker profile
An MQTT broker profile is empty if it was created from the None template and has not yet been completed. The settings of an empty profile do not show any configuration files or certificates.
To complete an empty MQTT broker profile:
- In the menu in the left part of the web interface page, select the MQTT broker section.
- In the Profiles table, in the Name column, click the
icon next to the profile that you want to complete.
The Profile settings table will be displayed.
- If you are planning to use an MQTT broker profile to connect to devices or cloud services in an external network, upload the Certification Authority certificate, client certificate, and private key. To do so, click the Upload button in the lower part of the page. In the opened file upload window, select the relevant files. Repeat this step as many times as required to upload all necessary certificates and keys to the system. In Kaspersky IoT Secure Gateway 1000, you can only upload certificates in PEM format with the CRT extension, and keys in PEM format with the KEY extension. The size of each file must not exceed 131 KB.
The uploaded files are displayed in the profile settings.
- Create a configuration file in the MQTT broker profile by clicking the Create new file button.
The Create MQTT broker configuration file pane opens on the right.
- In the Type drop-down list, select the type of configuration file. The following options are available:
- Main configuration file. This contains the main settings for MQTT broker operation. The main configuration file must be added to the MQTT broker profile so that this profile can be activated.
- Configuration file. This contains additional settings for MQTT broker operation.
- In the Name field, enter the name of the configuration file using letters of the English alphabet.
- Click Save to save the Eclipse Mosquitto MQTT broker configuration file.
The Create MQTT broker configuration file pane closes.
- In the Profile settings table, click the name of the configuration file that was just created.
- In the lower part of the Edit MQTT broker configuration file pane that opens on the right, click the
icon.
This opens a text editor window for editing the configuration file.
- In the text editor window, enter the required settings of the Eclipse Mosquitto MQTT broker configuration file.
For detailed information on the settings of the Eclipse Mosquitto MQTT broker configuration file, please refer to the documentation on the developer's website. There are limitations when configuring the MQTT broker for Kaspersky IoT Secure Gateway 1000.
- If you need to add a prepared configuration file to the profile, click the Upload button in the lower part of the page. In the opened file upload window, select a file in CONF format.
The configuration file will be uploaded to the system and will appear in the MQTT broker profile settings.
Kaspersky IoT Secure Gateway 1000 does not let you upload the main configuration file. This type of file can only be created.
- Click Save in the lower part of the page to save the changes.