Tag

#time

Why does an ESP32 need the right time before TLS?

By default, ESP-IDF ignores the validity dates of certificates. Turning the check on is right for production, and it makes the clock part of TLS: after a power cut an ESP32 believes it is 1970, and every certificate looks not yet valid. How to set the clock first, safely.

Read the article

Back to the blog