Secure Connection with Broker
To establish a secure connection with the MQTT broker, you must import the broker certificate and trust the certificate. This encrypts the data and keeps the broker connection data secure and authenticated.
To import the broker certificate:
- From the MQTTPlugin, click the overflow icon
of the broker connection and then select Import Certificate.
The Import Service Certificate dialog appears.
- Click Browse and navigate to the source location of the broker certificate.
- Double-click the broker root certificate.
- Click View to view the certificate details.
The Certificate Details page appears.
- Click Close on the Certificate Details page.
- Click Trust in the Import Service
Certificate dialog.
The Broker certificate imported Successfully message appears.
- Copy the root certificate MqttClientRootCA.crt, and save it to your broker certificate import location.
- In the DETAILS panel, ensure that the Use
Certificate field is set to True in the
SERVER DETAILS section.
- Click Save and then Publish.
Refer to Save and Publish for more details.