CipherUpgrade

All guides · Vendor & Infrastructure Upgrade Playbooks · Updated 2026-12-04 · 6 min read

AWS ALB, CloudFront, and RDS Post-Quantum TLS Guide (Safe Rollout Without Breaking Clients)

Step-by-step AWS engineering guide for moving ALB listeners to ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09, checking legacy TLS logs first, handling ~2KB ClientHellos, and auditing RDS.

Step 1: Inventory every listener before touching production

CloudFront already negotiates hybrid X25519MLKEM768 automatically at the viewer edge when MinimumProtocolVersion is set to TLSv1.2_2021 or higher. Where most AWS environments fail a post-quantum audit is on Application Load Balancers (ALBs) and Network Load Balancers (NLBs) still pinned to older policies such as ELBSecurityPolicy-2016-08 or ELBSecurityPolicy-TLS-1-2-2017-01.

Start with read-only AWS CLI inspection across every region and account so your inventory captures exact listener ARNs and policies.

Step 2: Query ALB access logs and test ~2KB PQC ClientHellos

Never flip a production ALB policy blindly. First query your S3/Athena ALB access logs for TLSv1, TLSv1.1, or legacy CBC ciphers to confirm no legacy B2B webhook or mobile client will break.

Next, enable ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 (or ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09 for FIPS 140-3 workloads) on staging first, and confirm that Cloudflare-to-ALB origin connections also negotiate TLS 1.3.

Step 3: AWS RDS and KMS posture (avoid the --apply-immediately footgun)

AWS RDS storage encryption using AES-256 KMS is already quantum-resistant at rest. For RDS transit security, confirm parameter groups enforce rds.force_ssl=1, verify application clients connect with sslmode=verify-full, and check that no instance still references expired rds-ca-2019 bundles.

When rotating an RDS CA certificate to rds-ca-ecc384-g1, update application client trust stores FIRST and schedule the RDS change with --no-apply-immediately during a maintenance window so sslmode=verify-full clients never drop connections on an unexpected reboot.

Quick technical reference

# 1. Inventory current AWS TLS policies and RDS CA bundles (read-only)
aws elbv2 describe-listeners --output json > aws-alb-listeners.json
aws cloudfront list-distributions --output json > aws-cloudfront.json
aws rds describe-db-instances --output json > aws-rds.json

# 2. Query ALB access logs BEFORE changing policy to catch legacy TLS 1.0/1.1 callers
SELECT ssl_protocol, ssl_cipher, COUNT(*) AS hits
FROM alb_access_logs
WHERE ssl_protocol IN ('TLSv1', 'TLSv1.1')
GROUP BY ssl_protocol, ssl_cipher;

# 3. Update Terraform ALB listener after log verification
resource "aws_lb_listener" "https" {
  port       = 443
  protocol   = "HTTPS"
  ssl_policy = "ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09"
}

Frequently asked questions

Which AWS ALB security policy enables post-quantum hybrid TLS?

ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09 enables TLS 1.3 with hybrid ML-KEM key exchange while retaining modern TLS 1.2 fallback. Regulated workloads requiring FIPS 140-3 validated cryptography should use ELBSecurityPolicy-TLS13-1-2-Res-FIPS-PQ-2025-09.

Why should we query ALB access logs before switching off ELBSecurityPolicy-2016-08?

Legacy policies allow TLS 1.0, TLS 1.1, and older CBC ciphers that old webhooks, EDI integrations, or embedded hardware clients may still use. Querying Athena ALB logs first prevents surprise production outages.

What is the ~2KB PQC ClientHello issue on AWS ALB?

Hybrid X25519MLKEM768 key shares expand the TLS ClientHello message to roughly 1.6 to 2 KB, spanning multiple TCP packets. Broken corporate firewalls or middleboxes occasionally stall fragmented ClientHellos, so testing staging with real partner traffic is recommended.

Related Guides