cancel
Showing results for 
Search instead for 
Did you mean: 

ERROR: Unable to load CA certificate

arnaud239955
Associate II
Posted on July 17, 2016 at 12:35

Hello,

Doing the Example 1 of the AN4683 (TLS Example 1, mutual auth), all commands work without problem (keys and certificate generation), same for imports in Wifi module (send back ''OK'')

But the last command : AT+S.SOCKON=ipaddress,443,s returns ''ERROR: Unable to load CA certificate'' (of course ipaddress is the ip address of my TLS server)

I have several questions :

- Is the CA certificate checked during import in the module ? According to my test, the certificate is not checked during import (could you confirm ?)

- Is the example given in the doc works for you ?

- Any clue ?

Thanks a lot

Zirco

2 REPLIES 2
arnaud239955
Associate II
Posted on July 21, 2016 at 09:27

Thank you Gerardo, I checked the two threads.

In fact, the loading was incorrect due to way I did it.

I use gtkterm on LInux and did the import by a cut/past of the PEM text. In fact, it's mandatory to use the menu ''send raw file'' to import the certificate.

Regards

Zirco