EG25 ssl suthentication with Azure MQTT broker

Hey there,

I am facing an issue connecting my Quectel EG25 GSM modem to the Azure event grid MQTT broker. Each time I upload the certificates and try to open a connection to the broker, it returns me +QMTOPEN: 0,-1.

I have generated the certificates using openSSL. The certificates are working fine when using MQTTx.

I have generated certificates using openSSL. Please help me out how to upload certificates on my modem.

I am currently using the uart terminal to give commands to modem using a PC.

Firmware version : EG25GGBR07A08M2G

Hi @Devesh_Pareek
Could you please send out the complete AT process of your connection to MQTTS server for a look?

I am using the below AT commands to connect to broker

AT+QMTCFG=“version”,0,4
AT+QMTCFG=“ssl”,0,1,2
AT+QFUPL=“RAM:cacert.pem”
AT+QFUPL=“RAM:client1-authn-ID.pem”
AT+QFUPL=“RAM:client1.pem”
AT+QSSLCFG=“cacert”,2,“RAM:cacert.pem”
AT+QSSLCFG=“clientcert”,2,“RAM:client1-authn-ID.pem”
AT+QSSLCFG=“clientkey”,2,“RAM:client1.pem”
AT+QSSLCFG=“seclevel”,2,2
AT+QSSLCFG=“ignorelocaltime”,2,1
AT+QMTOPEN=0,“mqtt-application-test.centralindia-1.ts.eventgrid.azure.net”,8883

Hi @Devesh_Pareek
I have sent you the latest firmware, you can upgrade to the latest firmware first and try it. If it still doesn’t work, please use qwinlog to grab a log containing the complete connection, I will have a look at it, thank you.

Ok,
I will check it and share with you if I face any problems.
Thanks for your help @lyman-Q