Hi everyone.
Currently, i'm able connect ESP32 to AWS IoT using example "protocol/aws-iot/subscribe-publish" in ESP-IDF
But when i used CC3200 chip from Texas Instrument, i must connect to NTP server and synchronize time for SSL.
But in ESP32 AWS IoT example, i didn't see any function which call to NTP server?
Do I need connect to NTP server? How to set time for SSL?
Thank you so much.
ESP32 Synchronize time for SSL Authentication
-
- Posts: 76
- Joined: Tue May 29, 2018 8:00 pm
Re: ESP32 Synchronize time for SSL Authentication
I don't think that AWS IoT requires having an accurate local time. I believe that by using certificates generated by AWS which are still valid in real clock time, it doesn't matter what the time is on the ESP32, as long as the embedded ssl library (mbedtls) doesn't reject the certs because it thinks they are expired.
Who is online
Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 103 guests