MQTT(S) Secret Authentication
Introduction
MQTT(S) secret authentication requires a device to have its ID and secret for access authentication. For devices connected through MQTTS, a CA certificate must be preconfigured on the devices.
Procedure
- An application calls the API for creating a device to register a device. Alternatively, a user uses the IoTDA console to register a device.
During registration, use the MAC address, serial number, or IMEI of the device as the node ID.
- The device needs to integrate the preset CA certificate (only for the authentication process of MQTTS access).
- During login, the device sends a connection request carrying the device ID and secret.
- If the authentication is successful, the platform returns a success message, and the device is connected to the platform.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot