ssl connection: error 77 with a prior CIEV | Thales IoT Developer Community
June 18, 2018 - 4:06pm, 763 views
Hi, I'm trying to get a secure connection going with PLS8-E.
I've sofar been able to take the refernce Java code and install the client (at slot 0) and server cert (at slot 1). Each cert installed (with SBNW command via the java code) is echo-d with "SECURE CMD END OK". I then do a at^siss=1,secopt,1 etc. followed by an SISO. I then get:
----------------
at^siso=1
OK
+CIEV: is_cert,1,"/C=DE/ST=Bavaria/L=Munich/O=Konux/CN=DoNotTrustThis","4096","/C=DE/ST=Bavaria/L=Munich/O=Konux/CN=....
^SIS: 1,0,77,"The certificate does not exist"
-------------
Why a cert-does-not-exist error even though a line above it, the modem echos the correct cert?
Hello,
I think that one of the reasons could be the wrong time set on the module.
The best solution would be to enable an automatic time zone update with AT+CTZU=1 command (if supported by network) before installing the certificates on the module and then establishing the connection. Please make sure that the time has been set before proceeding with certificates installation - wait for '+CTZU:' URC or check the time with 'AT+CCLK?' command.
If there still is a problem, please make sure that you have the correct root certificate for the server that you connect to.
Best regards,
Bartłomiej