-->
Page 1 of 1

Alternative TLS library for non os sdk

PostPosted: Tue Jan 05, 2021 7:56 am
by maverickchongo
Hi,

I need to have a https server running on the ESP8266 to have a RESP API running over TLS (using bidirectional authentication), but I am facing an issue with the current SSL library from ESP, and it is that to check the certificates it needs to get the time from a SNTP server. Unfortunately the ESP8266 won't have internet access and there is no guarantee that there will be a SNTP server available in the local network.

Do you know of any other TLS library available for the ESP8266 (non os sdk) or a way I could somehow provide the time rather than get the time from and SNTP server?

Any help is much appreciated.

Re: Alternative TLS library for non os sdk

PostPosted: Sat Jan 09, 2021 6:23 am
by davydnorris
It's part of the TLS protocol that the timestamps are checked and so you need an accurate system time service. The ESP won't have that without SNTP being active and synced