/Post Quantum
03 · Systems

System configurations

Configuration changes by system.

P0 · Network Ingress & Origin Hop

Edge CDN & Load Balancer TLS (`X25519MLKEM768`)

Hybrid key exchange combines classical X25519 and NIST FIPS 203 ML-KEM-768 inside the TLS 1.3 key schedule (codepoint 0x11ec). Handshake size grows by ~1.2 KB and remains backward-compatible with older clients.

nginx.conf (OpenSSL 3.5+) & AWS ALB Terraform
# NGINX / Ingress Controller
ssl_protocols TLSv1.3;
ssl_ecdh_curve X25519MLKEM768:X25519:secp256r1;

# AWS Application Load Balancer (closes CDN-to-Origin gap)
resource "aws_lb_listener" "https" {
  port            = 443
  protocol        = "HTTPS"
  ssl_policy      = "ELBSecurityPolicy-TLS13-1-2-PQ-2025-09"
  certificate_arn = aws_acm_certificate.default.arn
}

CDN-to-origin traffic

Enabling PQ-TLS at Cloudflare only protects the browser-to-CDN leg. Unless your AWS ALB or origin ingress also enables X25519MLKEM768, traffic between the CDN and your cloud VPC crosses public peering links over classical X25519.

Classical certificates in TLS 1.3

In TLS 1.3, the certificate signs the live handshake transcript; it does not encrypt the session key. Pairing X25519MLKEM768 with an existing ECDSA certificate protects recorded traffic.