ADR-0004: TLS 1.3-only viewer policy#

  • Status: accepted
  • Date: 2026-07-30

Context#

CloudFront offers a TLSv1.3_2025 security policy that accepts only TLS 1.3 and enables hybrid post-quantum key exchange (X25519MLKEM768) automatically, at no additional cost. The alternative, TLSv1.2_2021, accepts TLS 1.2 and negotiates 1.3 where available.

This is the single most consequential viewer-facing setting in the stack, and the only one that can make the site unreachable for a real person.

Decision#

Use TLSv1.3_2025 on the apex and www.

State the cost prominently — in the module README, on the website, and here — rather than presenting it as a free win.

Alternatives considered#

TLSv1.2_2021. The correct choice for almost any site with real users: it still negotiates TLS 1.3 with modern clients while serving everyone else, and nothing mysteriously fails. Rejected here because the site's subject matter is its own cryptographic posture, and a demonstration that quietly supports obsolete protocols is a weaker demonstration.

TLSv1.3_2025 on the apex, TLSv1.2_2021 on a legacy. subdomain. Genuinely appealing — it turns the tradeoff into a live side-by-side exhibit at no extra cost, since the same free tier covers both distributions. Deferred rather than rejected: it is on the roadmap. The apex decision does not depend on it.

Waiting for wider TLS 1.3 support. TLS 1.3 was standardised in 2018 (RFC 8446) and is supported by every current browser and OS. Support is not the issue; the issue is specific long-lived tooling.

Consequences#

Positive: the strongest posture CloudFront offers. Forward secrecy is mandatory. CBC-mode ciphers and the whole padding-oracle family are gone, along with RC4, 3DES, compression and renegotiation. Handshakes are one round trip. Hybrid post-quantum key agreement is included free, which addresses harvest-now-decrypt-later for anything that needs it. The claim "TLS 1.3 only" is unambiguous and verifiable.

Negative, and these are real:

  • TLS 1.2-only clients get a handshake failure, not a downgrade. Older curl

and wget builds, and anything on OpenSSL 1.0.x, cannot connect.

  • Corporate TLS-inspecting middleboxes that terminate at TLS 1.2 will block it.
  • Some link-preview bots and crawlers fail, so shared links may not render a

preview.

  • Some third-party SSL grading tools report a connection error rather than a grade

— mildly ironic for a site about TLS posture.

  • Java before 8u261 and Android before 10 cannot connect.

Neutral: the site cannot prove post-quantum key exchange happened, because CloudFront exposes the cipher suite to the origin but not the key-exchange group. That limitation is stated in the /api/whoami response and in the TLS documentation rather than glossed over.

Revisit when#

  • This domain ever needs to serve a general audience or be reliably linkable from

arbitrary platforms.

  • A specific tool that matters — a monitoring service, a CI client, a scanner —

turns out to be blocked.

  • CloudFront ships a policy that is stricter still, or one that adds ECH.

The change is a single variable, minimum_protocol_version, and reverting to TLSv1.2_2021 is a one-line commit.

Built 2026-11-25 from commit 33bfabf6a27d4baeecf228c31bd5d636a3965070. This page was generated from the same source that provisions the infrastructure it describes.