Issue with TLS / SSL connection with Quectel EC200u

AT+QICSGP=1,1,“airtelgprs.com”,“”,“”,0
OK
AT+QIACT=1
OK
AT+QISTATE=0,1
OK
AT+QPING=1,“www.server_domain_name.com”
OK
+QPING: 0,“server_ip”,64,62,255
+QPING: 0,“server_ip”,64,64,255
+QPING: 0,“server_ip”,64,64,255
+QPING: 0,“server_ip”,64,57,255
+QPING: 0,4,4,0,57,64,60
AT+QMTCFG=“pdpcid”,0,1
OK
AT+QMTCFG=“recv/mode”,0,0,1
OK
AT+QMTCFG=“SSL”,0,1,2
OK
AT+QSSLCFG=“cacert”,2,“UFS:cacert.pem”
OK
AT+QSSLCFG=“clientcert”,2,“UFS:client.pem”
OK
AT+QSSLCFG=“clientkey”,2,“UFS:user_key.pem”
OK
AT+QSSLCFG=“seclevel”,2,2
OK
AT+QSSLCFG=“sslversion”,2,4
OK
AT+QSSLCFG=“ciphersuite”,2,0xFFFF
OK
AT+QSSLCFG=“ignorelocaltime”,2,1
OK
AT+QMTOPEN=0,“www.server_domain_name.com”,8883
OK
+QMTOPEN: 0,5

This is the sequence of commands I am using with ec200u module.
These same certificates are working perfectly fine with MQTTX client software and Flutter Mobile Application. But when trying to use with module, always getting “5 Network connection error”
can anybody help me to correct this sequence ?

I suggest you provide the complete AT log and certificate file that you can just send to me

1 Like

Message sent with all necessary details in message.

I verified that the MQTT connection was successful, I suggest you check whether the length of the content of the import certificate and the verification code are consistent with the example I provided, and refer to the example I provided