Problem Connecting MQTT with BG96 SSL : +QMTSTAT: 0,1

Hi,

I’m facing a problem with the BG96 and MQTT SSL.
I open a MQTT SLL without any problem but when i try to CONNECT to the Broker the module responds : +QMTSTAT : 0,1

I have tested the solution with MQTTFx and everything is working so the certificates seems to be ok.

I try to connect to test.mosquitto.org port 8884.

Below you can find the config i send to the BG96 :
AT+QSSLCFG=“seclevel”,2,2
AT+QSSLCFG=“sslversion”,2,3
AT+QSSLCFG=“ciphersuite”,2,0XFFFF
AT+QSSLCFG=“ignorelocaltime”,2,1
AT+QMTCFG=“version”,4
AT+CGDCONT=1,“IPV4V6”,“matooma.m2m”
AT+QMTCFG="ssl"0,1,2
AT+QFDEL=“cacert.pem”
AT+QFDEL=“client.pem”
AT+QFDEL=“user_key.pem”
AT+QFUPL=“cacert.pem”,Size,100
Send all the cert bytes and get a good answer from the module
AT+QFUPL=“client.pem”,Size,100
Send all the cert bytes and get a good answer from the module
AT+QFUPL=“user_key.pem”,Size,100
Send all the key bytes and get a good answer from the module
AT+QMTCFG=“pdpcid”,0,1
AT+QSSLCFG=“cacert”,2,“cacert.pem”
AT+QSSLCFG=“clientcert”,2,“client.pem”
AT+QSSLCFG=“clientkey”,2,“user_key.pem”
AT+QICSGP=1,1,“matooma.m2m”
AT+CGATT?
Wait until Attachment ok
AT+QIACT=1
AT+QMTOPEN=0,“test.mosquitto.org”,8884
Get Connect ok
AT+QMTCONN=0,“MQTT-1”
->Error I receive +QMTSTAT: 0,1

I have added all the \r\n to the cert and key files .

Do you have any idea ? I’m really stuck.

Thanks for your help

you can try the AWS firstly

Thanks a lot but I have found what was the problem.
If you look at this particular line in my configuration :
AT+QMTCFG="ssl"0,1,2
I forget a ‘,’ so the command didn’t work as expected, and the good command is :
AT+QMTCFG=“ssl”,0,1,2

Thanks