I am trying to connect to AWS IoT using MQTTS on SIM7070G but it doesn’t seem to be working. Normal MQTT without SSL works just fine.
My current firmware version is 1951B08SIM7070.
Just to mention SIM7000 seem to have same set of AT commands and a similar problem.
Please check the AT Commands below and let me know if there is a problem.
AT+CNACT=0,1
OK
+APP PDP: 0,ACTIVE
AT+SMCONF=“URL”,“XXXXXXXXX-ats.iot.ap-south-1.amazonaws.com”,8883 (commented out by X for security reasons)
OK
AT+SMCONF=“QOS”,1
OK
AT+SMCONF=“CLEANSS”,1
OK
AT+SMCONF=“CLIENTID”,“sim7070”
OK
AT+CSSLCFG=convert,2,“clientca.pem” (ALL certificates that I am using here are stored in filesystem with same filename and extension)
OK
AT+CSSLCFG=convert,1,“clientcert.pem”,“clientkey.pem”
OK
AT+CSSLCFG=“sslversion”,0,3
OK
AT+SMSSL=1,“clientca.pem”,“clientcert.pem”
OK
AT+SMCONN
ERROR
Thank you.