Rc7620 +cme error: 60

Hi,

I’m facing to a secured communication problem with the RC7620 modem.

With the last firmware version, SWI9X07H_00.08.24.02 f90cbd jenkins 2022/03/21 03:47:54, and a valid root certificate, I’m able to create a secured socket and get an HTTPS communication with a secured HTTP server.
But after a while (few days or hours), the RC7620 modem stops working properly. It is impossible to create the secured socket and an error “+KTCPSTAT: 0,13,0,0” is reported to the command “AT+KTCPSTAT=1”.
“13” means SSL connection error.
If I try to read back the certificate stored in the module, this error is reported:

AT+KCERTSTORE?

CONNECT
local_cert,0,0
local_cert,1,0
local_cert,2,0

+CME ERROR: 60

From this step, it is possible to reload the root certificate but after few time, the same problem occurred again.

Best regards,
Befaoim

where do you get this FW?

Hi Jyijyi,

I downloaded this FW from the Sierra Wireless RC7620 firmware official webpage.
This is the Generic-GCF FW for the RC7620.

Here is the reply to the ATI9 command:

ATI9

Manufacturer: Sierra Wireless, Incorporated
Model: RC7620-1
QTI baseline: MPSS.JO.2.0.2.c1.1-00073-9607_GENNS_PACK-1.416077.1.419248.1
Revision: SWI9X07H_00.08.24.02 f90cbd jenkins 2022/03/21 03:47:54
*IMEI: ****
IMEI SV: 19
*FSN: ****
+GCAP: +CGSM

OK

Best regards,
Befaoim

I don’t see such webpage, can you paste the link?

https://source.sierrawireless.com/resources/airprime/software/rc76xx/rc76xx-firmware-release-9,-d-,0/#sthash.6XSW62GA.dpbs

I don’t see such issue, the cert is still here after reset:


(16:05:43:950) Snd COM11 [ATI3<CR>]
(16:05:43:950) Rcv COM11 [<CR><LF>Manufacturer: Sierra Wireless, Incorporated<CR><LF>] 
(16:05:43:966) Rcv COM11 [Model: RC7620<CR><LF>Revision: SWI9X07H_00.08.24.02 f90cbd jenkins 2022/03/21 03:47:54<CR><LF>] 
(16:05:43:981) Rcv COM11 [IMEI: 353634110003123<CR><LF>IMEI SV: 19<CR><LF>] 
(16:05:43:981) Rcv COM11 [FSN: 7Q034585530123<CR><LF>+GCAP: +CGSM<CR><LF>] 
(16:05:43:981) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 31<4000 ms 
(16:05:44:216) Snd COM11 [ATI8<CR>]
(16:05:44:216) Rcv COM11 [<CR><LF>Legato Ver: 21.09.1.ThreadX.rc1<CR><LF>] 
(16:05:44:231) Rcv COM11 [Yocto Ver: unknown<CR><LF>OS Ver: 21.09.1.ThreadX.rc1 f90cbd jenkins 2022/03/21 04:10:55<CR><LF>] 
(16:05:44:247) Rcv COM11 [LK Ver: unknown<CR><LF>RootFS Ver: unknown<CR><LF>] 
(16:05:44:247) Rcv COM11 [UserFS Ver: unknown<CR><LF>MCU Ver: unknown<CR><LF>] 
(16:05:44:247) Rcv COM11 [TAOP Ver: TZ.BF.4.0.C6-00126<CR><LF><CR><LF>] 
(16:05:44:263) Rcv COM11 [OK<CR><LF>]  @ 47<4000 ms 

(16:05:50:872) Snd COM11 [AT<CR>]
(16:05:50:872) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 
(16:05:51:091) Snd COM11 [AT+KCERTSTORE?<CR>]
(16:05:51:091) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<4000 ms 
(16:05:51:106) Rcv COM11 [root_cert,0,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:106) Rcv COM11 [root_cert,1,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:122) Rcv COM11 [root_cert,2,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:122) Rcv COM11 [root_cert,3,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:138) Rcv COM11 [local_cert,0,0<CR><LF>]  @ 16<4000 ms 
(16:05:51:138) Rcv COM11 [local_cert,1,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:138) Rcv COM11 [local_cert,2,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:138) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 
(16:05:51:372) Snd COM11 [AT+KPRIVKSTORE?<CR>]
(16:05:51:372) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<4000 ms 
(16:05:51:388) Rcv COM11 [private_key,0,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:404) Rcv COM11 [private_key,1,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:404) Rcv COM11 [private_key,2,0<CR><LF>]  @ 0<4000 ms 
(16:05:51:404) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 

Test Step 1: Store module root cert
(16:05:51:653) Snd COM11 [AT+KCERTSTORE=0<CR>]
(16:05:51:653) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<5000 ms 
(16:05:51:888) Snd COM11 [-----BEGIN CERTIFICATE-----<LF>MIIDhTCCAm2gAwIBAgIUHvMhBYOmbhf38Qf8jzrRK8kfNoowDQYJKoZIhvcNAQEL<LF>BQAwUjELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM<LF>GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDELMAkGA1UEAwwCQ0EwHhcNMjAxMjIx<LF>MDczOTUwWhcNMzAwOTIwMDczOTUwWjBSMQswCQYDVQQGEwJBVTETMBEGA1UECAwK<LF>U29tZS1TdGF0ZTEhMB8GA1UECgwYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQsw<LF>CQYDVQQDDAJDQTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALM6y5bM<LF>5yymigT4Y/puUXN64vsc+GZ7tANs9Gf579zSE4yjnOrkzwdKzxTaxt0Q4eCyWlpP<LF>xoUo3MeEY7U63MZ3jw341U/6avUxdmwA40BciyGk7Figt++wuJyRFoX0glkaXiX/<LF>FIvscPHqf22jO4Q21x9aXurg6H80dQsuCGP8m8SCAEBuaP+CE6/nlkhVAH9Om0X7<LF>FZBOGOMbjZyUsWaObhd3TXabS3K1F4LU3tUVNicwwCtZd4Xnn2wn5kVbV4DQgPUt<LF>IlxaVSc0+h/NTJl44KSb4B/xebkUftBWf5HgRw2E4RE7YPpvcdzp+JknE7Tr+QGu<LF>GaOqIjEG7zFEdq8CAwEAAaNTMFEwHQYDVR0OBBYEFJNmW565Vs9l0SSRlhEQs77u<LF>1GkLMB8GA1UdIwQYMBaAFJNmW565Vs9l0SSRlhEQs77u1GkLMA8GA1UdEwEB/wQF<LF>MAMBAf8wDQYJKoZIhvcNAQELBQADggEBACnWbnkAULM75Kk7/eggUbrly2DlTV8j<LF>x89rPORG3zKk8dL++2hi3CpFpe+6ZI2DwI/EyAaJ24LBQ6Yuh+AOYPx3T6gy6IlE<LF>qTbcxXalmPSn8L6lo7jnS5lE1AKNm0sVpuXGWpOX9BM2+DgaBvu84wx6Egpt5A/d<LF>xtRyM5GFSUbMMx6ZXU5gm2iRHSXqRGQedaW44oY03SpzS326y3+1SUXVhGEsAFzi<LF>uVzxifAtfd3D1jqY4/UoWC7IEcRSc2Wi7efz7JIBTANeWhb81aFsg70/HQyanFaz<LF>/NAki90BbZn5kiOKpdM32kyZcNLigE9c/gt6XnoZ9I/WY3ynQTq+cII=<LF>-----END CERTIFICATE-----<LF>]
(16:05:51:888) SLEEP: Start sleep for 1500 milliseconds
(16:05:53:419) SLEEP: End sleep
(16:05:53:638) Snd COM11 [+++]
(16:05:53:638) SLEEP: Start sleep for 1500 milliseconds
(16:05:55:169) SLEEP: End sleep
(16:05:55:169) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 

Test Step 2: Store module client cert
(16:05:55:403) Snd COM11 [AT+KCERTSTORE=1,,0<CR>]
(16:05:55:403) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<5000 ms 
(16:05:55:638) Snd COM11 [-----BEGIN CERTIFICATE-----<LF>MIIDLzCCAhcCFH4uN2x8vRbBsyVY8RuZrQkIEQTsMA0GCSqGSIb3DQEBCwUAMFIx<LF>CzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEwHwYDVQQKDBhJbnRl<LF>cm5ldCBXaWRnaXRzIFB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
(16:05:57:169) SLEEP: End sleep
(16:05:57:388) Snd COM11 [+++]
(16:05:57:388) SLEEP: Start sleep for 1500 milliseconds
(16:05:58:903) SLEEP: End sleep
(16:05:58:903) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 

Test Step 3: Store module private key
(16:05:59:138) Snd COM11 [AT+KPRIVKSTORE=0<CR>]
(16:05:59:138) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<5000 ms 
(16:05:59:372) Snd COM11 [-----BEGIN RSA PRIVATE KEY-----<LF>MIIEpAIBAAKCAQEAsR3lpnw29UQg/DClQH5wGGm1YuNUx4XN4x1P1wOVFaQu1GHn<LF>FvOeovNUYF5VqHvu9syVG7ltKDtYLbXvT/b8GdQ0+1AWcbIg3P8UkzgAnu+jzf4J<LF>KkpzKLmMVfqg3WHdcRVZLOlPSGcxdVlRZ3bIOeMfnaAlqdaitD7dG/VYAxvrUNsf<LF>r04coakUEKNq5cGqxWQoNTCxMn3Fif4Q2+iZYI+oyXHcflVYj7qdXpAo2lg3URXi<LF>cQVOO2Ek/OnH8muQIrw9RHKFzTRsMGxZWhnU0GJdAxFSW3cG2ArqFLR79PK1+ZBa<LF>2w1aFWowChtgqLSGK+tOZ0EtNQs/i+mzN9W1uQIDAQABAoIBACKtJswsn5nvZ8HY<LF>SFJTLuEouRGOToftw3yGvZ3sHqEpDt4X+OV+dv2SRF/FuGGPOh7puPu/lwZ8b+wr<LF>JZpzUbJA4MqfSHWkGVkLO90C5uQ3KMvow6SbBObhRP+EXUBaq787HcV0PEiBo6ZF<LF>AXIPSG5E8Gis9RLGaf5+HE4f/8ZDurHXuBqxpxT1dta6dXMDSkUBWgTHRbPcEQ8P<LF>U7jlWaT3TmD0IvE89bAzPBwZOrumyLU+A/EUXKfcVY2REUAuRCxVoWJMWi4OhetJ<LF>EurhmcZWbU2C90PoQTteII5oGylSDNHM9t74+iRqVBvG2cpU886J/QhumhlHDh0b<LF>WAaPPXECgYEA1mklzfLpRPS0Nt/xb1yvi5+a35tTHA3YeR1ttW8potMFu2GmQwUM<LF>8IF3qXAUbS9GV5enMyWGY7+XASCBxX54pwIPXfC3RpR1ofAy2aC696fR4Y5Rsa3k<LF>fiqD2PFKUWYXWvGwHj1BseHA+88OJiRyjT0uc5SDNiRctQ+iR0l0MYUCgYEA03je<LF>Ui/CZn9bI+9eFQtSD6jBs5RQLOm2idUz58fItWyelyYvFKXgda300N6swfmwZx2s<LF>1J9i8vBJpJxy4wtFpKlUCH0i7SHd2vRJ5SjKVJxCmRsAIskTTJxhx13HtVVaFfsh<LF>kKyQFDt4/YVkd0kqfItDQgFBtyRzapRZ/nVPD6UCgYEAocYkKAgnyUd40g6V9BhS<LF>u15pVF21j21C798sb8C4AYqGwKMk91xQLwcAam+OefM5d82M8iJWC9z66nbEc2bB<LF>UgFT5uVA45gQSWcadum3KDUPPshLC2zRAgDCCmXEVTZaWNwSrj452yUintvTKSRG<LF>6hpHeh2MAsXczSBGqNLbQKECgYEAibzKIYHV/uiotkksYEyVUHm8YHkTl41KRZBG<LF>VIs94V00FoLaW3qHLl71fC3tHBLDoQYlEgAWdOGpNbxo4BTxcYSQpU7MNuO+GuTO<LF>VKIy1tVIU2zQs9d/6IBa933Pm/5RxMtjW1XqKiNqdMYzX7aaI7CZSB6FbQIi4qJp<LF>02EY87kCgYA1deTRx7k4VvIbK1XW9NeQfTTbatAkOAxvHzMg9eGUkZPZ8yGCc+lr<LF>QX/qGwvZd4m8e48/xmKPB8Z3EFSm+gjazFUicwVAn8YovBfH+Cy+0hAI1Z/B4kvJ<LF>Igxk1E8GcXUDzNjXAS1UW7lX8viKo3v0bZNRBDcd2pxyeeVc34hEdw==<LF>-----END RSA PRIVATE KEY-----<LF>]
(16:05:59:372) SLEEP: Start sleep for 1500 milliseconds
(16:06:00:888) SLEEP: End sleep
(16:06:01:106) Snd COM11 [+++]
(16:06:01:106) SLEEP: Start sleep for 1500 milliseconds
(16:06:02:622) SLEEP: End sleep
(16:06:02:622) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 

Test Step 4: Reboot the module
(16:06:02:856) Snd COM11 [AT!RESET<CR>]
(16:06:02:856) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 
close usb port
(16:06:02:872) SLEEP: Start sleep for 15000 milliseconds
(16:06:17:903) SLEEP: End sleep
(16:06:18:138) Snd COM11 [AT<CR>]
(16:06:18:138) Rcv COM11 [AT<CR><CR><LF>OK<CR><LF>]  @ 0<4000 ms 
open usb port
close usb port
(16:06:18:169) SLEEP: Start sleep for 10000 milliseconds
(16:06:28:169) SLEEP: End sleep
(16:06:28:403) Snd COM11 [AT<CR>]
(16:06:28:403) Rcv COM11 [AT<CR><CR><LF>OK<CR><LF>]  @ 0<4000 ms 
open usb port
(16:06:28:638) Snd COM11 [ATE0<CR>]
(16:06:28:653) Rcv COM11 [ATE0<CR><CR><LF>OK<CR><LF>]  @ 15<4000 ms 
(16:06:28:872) Snd COM11 [AT!ENTERCND="A710"<CR>]
(16:06:28:919) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 47<4000 ms 

Enter SIM PIN
(16:06:29:153) Snd COM11 [AT+CPIN?<CR>]
(16:06:29:153) Rcv COM11 [<CR><LF>+CPIN: READY<CR><LF>] 
(16:06:29:153) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<10000 ms 
Check Network Registration Loop:  1
(16:06:29:153) SLEEP: Start sleep for 3000 milliseconds
(16:06:32:169) SLEEP: End sleep
(16:06:32:388) Snd COM11 [AT!GSTATUS?<CR>]
(16:06:32:388) Rcv COM11 [<CR><LF>!GSTATUS: <CR><LF>] 
(16:06:32:403) Rcv COM11 [Current Time:  29<TAB><TAB>Temperature: 37<CR><LF>Modem Mitigate Level: 0<TAB><TAB>ModemProc Mitigate Level: 0<TAB><CR><LF>] 
(16:06:32:419) Rcv COM11 [Reset Counter: 1<TAB><TAB>Mode:        ONLINE         <CR><LF>System mode:   LTE        <TAB>PS state:    Attached     <CR><LF>] 
(16:06:32:419) Rcv COM11 [IMS reg state: NOT REGISTERED  <TAB>IMS mode:    Normal       <CR><LF>IMS Srv State: NO SMS,NO VoIP          <CR><LF>] 
(16:06:32:435) Rcv COM11 [LTE band:      B28    <TAB><TAB>LTE bw:      10 MHz  <CR><LF>LTE Rx chan:   9300<TAB><TAB>LTE Tx chan: 27300<CR><LF>] 
(16:06:32:435) Rcv COM11 [LTE CA state:  INACTIVE    <CR><LF>EMM state:     Registered     <TAB>Normal Service <CR><LF>] 
(16:06:32:435) Rcv COM11 [RRC state:     RRC Idle       <CR><LF><CR><LF>] 
(16:06:32:450) Rcv COM11 [PCC RxM RSSI:  -67<TAB><TAB>RSRP (dBm):  -88<CR><LF>PCC RxD RSSI:  -93<TAB><TAB>RSRP (dBm):  -122<CR><LF>] 
(16:06:32:450) Rcv COM11 [Tx Power:      --<TAB><TAB>TAC:         0001 (1)<CR><LF>RSRQ (dB):     -3<TAB><TAB>Cell ID:     01A2D001 (27447297)<CR><LF>] 
(16:06:32:450) Rcv COM11 [SINR (dB):     24.6<CR><LF><CR><LF>] 
(16:06:32:450) Rcv COM11 [OK<CR><LF>]  @ 62<5000 ms 

-------->Info: CS network is registrated. Now checking PS.


-------->Info: PS network is Attached.


Test Step 5: Query stored cert and key
(16:06:32:685) Snd COM11 [AT+KCERTSTORE?<CR>]
(16:06:32:685) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<4000 ms 
(16:06:32:732) Rcv COM11 [root_cert,0,1281<CR><LF>-----BEGIN CERTIFICATE-----<LF>MIIDhTCCAm2gAwIBAgIUHvMhBYOmbhf38Qf8jzrRK8kfNoowDQYJKoZIhvcNAQEL<LF>BQAwUjELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM<LF>GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDELMAkGA1UEAwwCQ0EwHhcNMjAxMjIx<LF>MDczOTUwWhcNMzAwOTIwMDczOTU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ipp3z1Q8oRwV4AZyvZm1lqBiLHmjJxpxrubKODtVBr4+17<LF>nA8Pz3zSxx3SSvb0c65ykmWEBY5Cd0/pY420saKpI5RkfmbY/w17TlL88mYA3vrR<LF>VEPKYFZpknGW7vn4L90ahPUbH8U6sPK0jRsi3p5u8n1MThETxyeRPFow8Cgzoj3N<LF>bzrUGdtGZfp7J01NSoN1QivZN3zQlaBXoiilgORab102WsnAK/dj09/uXNDSdsEa<LF>bUgP0PU6XIZ9v9EKDIlgz7O0YBk+VRCQc4Uk9zhhuFs0PJfcrwjpMtMni5HC32fq<LF>kAy0<LF>-----END CERTIFICATE-----<LF><CR><LF>]  @ 31<4000 ms 
(16:06:32:778) Rcv COM11 [local_cert,1,0<CR><LF>]  @ 0<4000 ms 
(16:06:32:778) Rcv COM11 [local_cert,2,0<CR><LF>]  @ 0<4000 ms 
(16:06:32:778) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 
(16:06:32:997) Snd COM11 [AT+KPRIVKSTORE?<CR>]
(16:06:32:997) Rcv COM11 [<CR><LF>CONNECT<CR><LF>]  @ 0<4000 ms 
(16:06:33:060) Rcv COM11 [private_key,0,1679<CR><LF>-----BEGIN RSA PRIVATE KEY-----<LF>MIIEpAIBAAKCAQEAsR3lpnw29UQg/DClQH5wGGm1YuNUx4XN4x1P1wOVFaQu1GHn<LF>FvOeovNUYF5VqHvu9syVG7ltKDtYLbXvT/b8GdQ0+1AWcbIg3P8UkzgAnu+jzf4J<LF>KkpzKLmMVfqg3WHdcRVZLOlPSGcxdVlRZ3bIOeMfnaAlqdaitD7dG/VYAxvrUNsf<LF>r04coakUEKNq5cGqxWQoNTCxMn3Fif4Q2+iZYI+oyXHcflVYj7qdXpAo2lg3URXi<LF>cQVOO2Ek/OnH8muQIrw9RHKFzTRsMGxZWhnU0GJdAxFSW3cG2ArqFLR79PK1+ZBa<LF>2w1aFWowChtgqLSGK+tOZ0EtNQs/i+mzN9W1uQIDAQABAoIBACKtJswsn5n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qJp<LF>02EY87kCgYA1deTRx7k4VvIbK1XW9NeQfTTbatAkOAxvHzMg9eGUkZPZ8yGCc+lr<LF>QX/qGwvZd4m8e48/xmKPB8Z3EFSm+gjazFUicwVAn8YovBfH+Cy+0hAI1Z/B4kvJ<LF>Igxk1E8GcXUDzNjXAS1UW7lX8viKo3v0bZNRBDcd2pxyeeVc34hEdw==<LF>-----END RSA PRIVATE KEY-----<LF><CR><LF>]  @ 62<4000 ms 
(16:06:33:075) Rcv COM11 [private_key,1,0<CR><LF>]  @ 0<4000 ms 
(16:06:33:075) Rcv COM11 [private_key,2,0<CR><LF>]  @ 0<4000 ms 
(16:06:33:075) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<4000 ms 

Test Step 6: Setting up HTTP connection
(16:06:33:309) Snd COM11 [AT+CCLK="22/04/01,16:06:33+32"<CR>]
(16:06:33:309) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 
(16:06:33:544) Snd COM11 [AT+CGDCONT=3,"IP","testAPN2"<CR>]
(16:06:33:544) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 
(16:06:33:778) Snd COM11 [AT+KCNXCFG=3,"GPRS","testAPN2"<CR>]
(16:06:33:778) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<3000 ms 
(16:06:33:997) Snd COM11 [AT+KCNXPROFILE=3<CR>]
(16:06:33:997) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<30000 ms 
(16:06:34:231) Snd COM11 [AT+KSSLCRYPTO=0,8,3,25392,12,4,3,0<CR>]
(16:06:34:231) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<30000 ms 
(16:06:34:450) Snd COM11 [AT+KPATTERN="--EOF--Pattern--"<CR>]
(16:06:34:450) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 0<30000 ms 
(16:06:34:669) Snd COM11 [AT+KHTTPCFG=3,"xxx",7002,2,,,,,0<CR>]
(16:06:34:856) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:34:856) Rcv COM11 [+KHTTPCFG: 1<CR><LF>] 
(16:06:34:872) Rcv COM11 [<CR><LF>OK<CR><LF>]  @ 203<3000 ms 
(16:06:34:872) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:34:872) Rcv COM11 [+KCNX_IND: 3,4,1<CR><LF>] 
(16:06:34:872) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:34:872) Rcv COM11 [<CR><LF>+KCNX_IND: 3,1,0<CR><LF>] 
(16:06:36:528) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:36:528) Rcv COM11 [<CR><LF>+KHTTP_IND: 1,1<CR><LF>]  @ 1656<60000 ms 
(16:06:36:747) Snd COM11 [AT+KHTTPCLOSE=1<CR>]
(16:06:36:747) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:36:747) Rcv COM11 [OK<CR><LF>]  @ 0<10000 ms 
(16:06:36:981) Snd COM11 [AT+KHTTPDEL=1<CR>]
(16:06:36:981) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:36:997) Rcv COM11 [+KCNX_IND: 3,5,30<CR><LF>] 
(16:06:36:997) Rcv COM11 [<CR><LF><CR><LF>] 
(16:06:37:013) Rcv COM11 [OK<CR><LF>]  @ 32<3000 ms

After a reset, the certificate is still here for me too.
But when I use the modem during several hours (or days), the modem failed to work properly.
We use the modem to upload data every 15 minutes. Between transfers, the modem is properly stopped (AT+CPWROFF) and the power supply is removed.

Best regards,
Befaoim

What if there is no power off?

how about loading the certificate when power on?

We didn’t test without no power off.
We think to store the certificate when powering the modem but how it is stored? Is it dangerous to write the certificate every time at the same place? I know embedded memory are write limited.

You can check whether there is cert first

Yes, it could be a solution but it is not a satisfying fix. This problem could hide another one, we can’t know.

As far as you can send data, it should be ok.
Have you done stress test on this?

What do you mean by stress test?

You say “This problem could hide another one, we can’t know”, then you can perform stress test on the workaround to see if it 100% solves your problem

We’ll make that test in debug version only. I mean with a computer connected to our product. We don’t have the place to store permanently the needed certificate in our product. This requires an update of the hardware to add a memory.

The product is actually using a HL8548 modem who doesn’t need certificate to connect to a HTTPS server. But because 3G is EOL, we have to replace it by a RC76xx. So during the development phase, we didn’t think about that storage.