Skip to main content
arnaud239955
Associate III
July 17, 2016
Question

ERROR: Unable to load CA certificate

  • July 17, 2016
  • 2 replies
  • 672 views
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

    This topic has been closed for replies.

    2 replies

    arnaud239955
    Associate III
    July 21, 2016
    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