HiveMQ Cloud credentials for MQTT over TLS
Posted: Mon Jun 28, 2021 2:44 pm
Hello,
I'm trying to connect my esp32 as mqtt client to HiveMQ Cloud. This one use TLS over 8883 and username and password credentials.
I tried the PPPOS client and with the eclipse : "mqtt://mqtt.eclipseprojects.io" it's OK.
The problem is that when I want to change it to use : "mqtts://9c2cf507f4604f8eb8db547c2fc2ee1c.s1.eu.hivemq.cloud", I don't see how configure credential ans so the connection to the broker is failed...
Is anybody had use this cloud broker and can share a working exemple or explain hox setting credential in esp-idf ?
I'm trying to connect my esp32 as mqtt client to HiveMQ Cloud. This one use TLS over 8883 and username and password credentials.
I tried the PPPOS client and with the eclipse : "mqtt://mqtt.eclipseprojects.io" it's OK.
The problem is that when I want to change it to use : "mqtts://9c2cf507f4604f8eb8db547c2fc2ee1c.s1.eu.hivemq.cloud", I don't see how configure credential ans so the connection to the broker is failed...
Is anybody had use this cloud broker and can share a working exemple or explain hox setting credential in esp-idf ?