govorox / SSLClient

SSLClient - generic secure client Arduino library using mbedtls
GNU General Public License v3.0
84 stars 39 forks source link

ESP32 + SIM800L unable to connect to MQTT broker - Azure IoT Hub with X509 #35

Closed Tarek-Ragab-Abdelal closed 1 year ago

Tarek-Ragab-Abdelal commented 1 year ago

I am using ESP32 development kit and SIM800L V1 and I am trying to connect to Azure IoT Hub. I am using self-signed X509 certificate without a CA certificate. The module connects to network and to the apn succesfully, but still unable to connect to the mqtt broker. I keep getting error "MQTT_CONNECT_UNAVAILABLE" (rc = 3).

RobertByrnes commented 1 year ago

Hi @Tarek-Ragab-Abdelal If this issue is still of concern for you please open a new issue providing extra detail as to how to reproduce this including the relevant code.