i have been able to connect to azure-iot-hub and publish and subscribe to topics while using self-signed X509 certs. i used bg96 module to connect to my azure iot hub. Now i have set up device provisioning service and i am trying to connect to my device global endpoint. i am using the same ssl configuration as before but i am unable to open mqtt connection.
i get this error mqtt network open fail
+QMTOPEN: 1,-1
here is the complete output
-> ATI
<- Quectel
<- BG96
<- Revision: BG96MAR02A07M1G
<-
<- OK
Quectel
BG96
Revision: BG96MAR02A07M1G
AT+CPIN?
-> AT+CPIN?
<- +CPIN: READY
-> AT+QICSGP=2,1,"ZONG","","",3
<- OK
-> AT+QIACT=2
<- OK
-> AT+QICSGP=2,1,"ZONG","","",3
<- OK
-> AT+CGPADDR=2
<- +CGPADDR: 2,100.110.43.143
<- OK
APN OK: The IP address is 100.110.43.143
-> AT+QSSLCFG="sslversion",0,3
<- OK
-> AT+QSSLCFG="ciphersuite",0,0XFFFF
<- OK
-> AT+QSSLCFG="negotiatetime",0,300
<- OK
-> AT+QFUPL="ca_cert.pem",1282
Send Data len :1282
+QFUPL: 1282,5155
<- OK
-> AT+QFUPL="client_cert.pem",1188
Send Data len :1188
+QFUPL: 1188,707e
<- OK
-> AT+QFUPL="client_key.pem",1732
Send Data len :1732
+QFUPL: 1732,595e
<- OK
-> AT+QSSLCFG="seclevel",0,2
<- OK
-> AT+QSSLCFG="cacert",0,"ca_cert.pem"
<- OK
-> AT+QSSLCFG="clientcert",0,"client_cert.pem"
<- OK
-> AT+QSSLCFG="clientkey",0,"client_key.pem"
<- OK
-> AT+QSSLCFG="ignorelocaltime",0,1
<- OK
AT+QSSLCFG="ignorelocaltime",0
+QSSLCFG: "ignorelocaltime",0,1
OK
SSL OK: The ssl were successfully initialized.
-> AT+QMTCFG="version",1,4
<- OK
-> AT+QMTCFG="pdpcid",1,2
<- OK
-> AT+QMTCFG="keepalive",1,150
<- OK
-> AT+QMTCFG="session",1,1
<- OK
Config the MQTT Parameter Success!
AT+QMTCFG="ssl",1,1,0
OK
AT+QMTOPEN=1,"global.azure-devices-provisioning.net",8883
OK
+QMTOPEN: 1,-1