Connecting to an MQTT broker - Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager

Industrial IoT Plugin Guide 5.0.1.1

Applies to
Industrial IoT 5.0.1.1 | BACnet | Modbus | OPC Client | SNMP Manager
Last updated
2023-02-09
Content type
Guides > Plugin and extension guides
Language
English
Product
Industrial IoT
Version
5.0

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

You must connect the server hosting the plugin role to an existing MQTT broker.

Procedure

  1. From the Config Tool home page, open the Plugins task.
  2. From the entity browser, select the Industrial IoT plugin role and click the Protocols tab.
  3. In the Protocols list, turn on the MQTT Client switch.
  4. Under the MQTT Brokers list, click Add MQTT broker ().
  5. In the Name field, enter a name for the broker.
  6. 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.
  7. 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.
  8. (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.
    Config Tool showing the MQTT broker configuration in the Industrial IoT Protocols page.
  9. Click Apply.

Results

The broker is added to the list of MQTT brokers.

After you finish

Add the MQTT devices.