2016-07-17 03:35 AM
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 Zirco2016-07-18 02:26 AM
Hi,
https://my.st.com/public/STe2ecommunities/interface/Lists/WiFi%20Modules/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Finterface%2FLists%2FWiFi%20Modules%2FUnable%20to%20initiate%20TLS%20Connection%20using%20SPWF01SA.11%20wit%20FW%20V3.4&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580008...andhttps://my.st.com/public/STe2ecommunities/interface/Lists/WiFi%20Modules/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Finterface%2FLists%2FWiFi%20Modules%2FSSLTLS%20Error%20Unable%20to%20connect%20%28-1%29&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800086789498A6852D4897EA192EB1DEE909&...Already checked?2016-07-21 12:27 AM
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