I have an app that used the atcmd application. I am trying to connect to the Google MQTT server. I have the Google MQTT CA root cert installed on the CC3w235 as /erg/primary. I issue the commands:
AT+MqttCreate=...,[url|sec|skip_cert_verify],mqtt.2030.ltsapis.goog,443,TLSV1_2,TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,,,/erg/primary,,v3_1_1,1,1
+mqttcreate:0
OK
AT+MqttSet=0,user,unused
OK
AT+MqttSet=0,password,...
OK
AT+MqttSet=0,keepalive,300
OK
AT+MqttSet=0,clean,0
OK
AT+MqttConnect=0
The connect command returns with an wrong_ca_cert error. I modify ATCmd to dump out the expected CA cert CN and it shows:
SL_SOCKET_ASYNC_EVENT: ERROR - WRONG ROOT CA. Install "GTS LTSR"
The problem I have is that I specified /erg/primary on the Create command, and that file in the install image does have a valid CA cert (from Google) with:
Issuer: C = US, O = Google Trust Services LLC, CN = GTS LTSR
What am I missing?