Before you can add MQTT client devices to Security Center, you must add a MQTT broker to the Industrial IoT plugin role and enter the information required to connect to the broker.
What you should know
Procedure
- From the Config Tool homepage, open the Plugins task.
- From the entity browser, select the Industrial IoT plugin role and click the Protocols tab.
- In the Protocols list, turn on the MQTT Client switch.
-
Under the MQTT Brokers list, click Add MQTT
broker (
).
- In the Name field, enter a name for the broker.
-
In the Connection info section, enter the following:
- Address
- The host address of the broker. It can be an IP address or a valid host name.
- Port
- The port on which the MQTT broker listens for incoming connections.
-
In the Security section, do the following:
- From the Encryption drop-down list, select the
security level you want to use for the communication between the MQTT
client (the Industrial IoT plugin
role) and the MQTT broker.
The encryption type you select must be supported by the MQTT broker.
- To bypass certificate validation when connecting to the MQTT broker, turn on the Bypass certificate validation option.
- To enable authentication when connecting to the MQTT broker, turn on the Authentication option, and enter a username and password.
- From the Encryption drop-down list, select the
security level you want to use for the communication between the MQTT
client (the Industrial IoT plugin
role) and the MQTT broker.
-
(Optional) In the Advanced settings section, do the
following:
- To enable older versions of TLS, such as TLS 1.0 and 1.1, turn on the Enable older TLS versions option, and select the version you want from the Encryption drop-down list in the Security section.
- If required, enter a Client ID or click Generate random ID.
- In the Reconnection delay field, enter the time interval that the MQTT client (the Industrial IoT plugin role) must wait before attempting to reconnect to the broker when the connection is lost.
- In the Protocol version, select the version of MQTT to use. By default, the 3.1.1 version is selected.
- Click Apply.
Results
After you finish
Parent topic: Adding MQTT devices to Security Center