---
title: "ESP32 time bootstrap problem"
url: https://daily.dev/posts/esp32-time-bootstrap-problem-quwqeqcii
source_url: https://advancedweb.hu/esp32-time-bootstrap-problem
type: article
source: "Advanced Web Machinery"
published: 2026-04-30T12:16:30.132Z
updated: 2026-04-30T12:17:17.668Z
tags: ["security", "iot", "embedded"]
reading_time: 15
upvotes: 0
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# ESP32 time bootstrap problem

**[Advanced Web Machinery](https://daily.dev/sources/advancedweb)** · 15 min read · 0 upvotes · 0 comments

## Summary

Explores the time bootstrap problem on ESP32 microcontrollers: how to get a trusted current time after a cold start when TLS certificate validation requires knowing the time, but getting the time securely requires TLS. Covers NTP (insecure but practical), NTS (adds TLS key establishment but still circular), Roughtime (cryptographically accountable but draft-only and not quantum-resistant), and DoH as a layered defense. Concludes that for ESP32 today, using plain NTP combined with DoH and backend certificate cross-checking is the pragmatic compromise, with a future path toward Roughtime and NTS once ESP-IDF support matures.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://advancedweb.hu/esp32-time-bootstrap-problem>

## Similar posts on daily.dev

- [This DIY Time Server Is More Accurate Than You Need](https://daily.dev/posts/this-diy-time-server-is-more-accurate-than-you-need-n03z229m5) · Hackaday · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#iot](https://daily.dev/tags/iot), [#embedded](https://daily.dev/tags/embedded)

[View this post on daily.dev](https://daily.dev/posts/esp32-time-bootstrap-problem-quwqeqcii)
