<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Hannah Lyons</title>
    <description>The latest articles on DEV Community by Hannah Lyons (@babyhuey).</description>
    <link>https://dev.to/babyhuey</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4283933%2F1bc2f994-cc53-41bd-b2fe-75f331072c8d.png</url>
      <title>DEV Community: Hannah Lyons</title>
      <link>https://dev.to/babyhuey</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/babyhuey"/>
    <language>en</language>
    <item>
      <title>Your CloudFront is post-quantum. Your ALB probably isn't.</title>
      <dc:creator>Hannah Lyons</dc:creator>
      <pubDate>Sat, 05 Dec 2026 16:22:12 +0000</pubDate>
      <link>https://dev.to/babyhuey/your-cloudfront-is-post-quantum-your-alb-probably-isnt-4kae</link>
      <guid>https://dev.to/babyhuey/your-cloudfront-is-post-quantum-your-alb-probably-isnt-4kae</guid>
      <description>&lt;p&gt;When the NSA published its "Immediate Actions: Push Toward Post-Quantum" advisory on December 1, the first step it lists is &lt;em&gt;inventory&lt;/em&gt;: know where your TLS terminates and what it negotiates. So I spent a day doing exactly that across our production and test AWS accounts.&lt;/p&gt;

&lt;p&gt;I expected a messy answer. What I got was a clean split: some of our traffic was &lt;strong&gt;already&lt;/strong&gt; post-quantum without anyone touching a setting, and some of it had no chance of ever being post-quantum until we changed a policy name. The split had nothing to do with how old or important the service was. It was entirely about &lt;strong&gt;which AWS service terminates the TLS connection.&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  TL;DR
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Where TLS terminates&lt;/th&gt;
&lt;th&gt;Post-quantum by default?&lt;/th&gt;
&lt;th&gt;What to do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;CloudFront (viewer side)&lt;/td&gt;
&lt;td&gt;✅ Yes, since Sept 2025&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API Gateway, edge-optimized&lt;/td&gt;
&lt;td&gt;✅ Yes (it's CloudFront in front)&lt;/td&gt;
&lt;td&gt;Nothing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;API Gateway, regional custom domain&lt;/td&gt;
&lt;td&gt;❌ No&lt;/td&gt;
&lt;td&gt;Opt in to a &lt;code&gt;_PQ_&lt;/code&gt; security policy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;ALB / NLB HTTPS or TLS listener&lt;/td&gt;
&lt;td&gt;❌ No (unless created in the console recently)&lt;/td&gt;
&lt;td&gt;Switch to an &lt;code&gt;ELBSecurityPolicy-TLS13-*-PQ-2025-09&lt;/code&gt; policy&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Your certificates (ACM)&lt;/td&gt;
&lt;td&gt;❌ Still RSA / ECDSA&lt;/td&gt;
&lt;td&gt;Nothing you can do yet. That's OK, and I'll explain why&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In our accounts, &lt;strong&gt;every&lt;/strong&gt; ALB and NLB HTTPS listener and &lt;strong&gt;all 21&lt;/strong&gt; regional API Gateway custom domains failed a post-quantum handshake. Everything behind CloudFront passed.&lt;/p&gt;

&lt;h2&gt;
  
  
  First, a 60-second refresher: why key exchange is the part that matters now
&lt;/h2&gt;

&lt;p&gt;A TLS handshake does two different cryptographic jobs:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Key exchange&lt;/strong&gt; (ECDHE today) agrees on the session key that encrypts your traffic.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Signatures&lt;/strong&gt; (your certificate's RSA or ECDSA key) prove the server is who it claims to be.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The threat people worry about is "harvest now, decrypt later": someone records your encrypted traffic today and decrypts it once a large enough quantum computer exists. That attack only needs to break the &lt;strong&gt;key exchange&lt;/strong&gt;. Breaking a signature years from now doesn't help an attacker impersonate your server &lt;em&gt;today&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;So the urgent fix is hybrid key exchange: &lt;code&gt;X25519MLKEM768&lt;/code&gt;, which combines classic X25519 with the NIST-standardized ML-KEM. If either half holds, the session key is safe. Post-quantum &lt;em&gt;certificates&lt;/em&gt; are a separate, slower migration (more on that at the end).&lt;/p&gt;

&lt;h2&gt;
  
  
  How to test an endpoint in one line
&lt;/h2&gt;

&lt;p&gt;You need OpenSSL &lt;strong&gt;3.5 or newer&lt;/strong&gt; on the client. This tripped me up immediately: my Ubuntu box has OpenSSL 3.0, which doesn't even know the group name:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;error:0A080106:SSL routines:gid_cb:passed invalid argument:...:group 'X25519MLKEM768' cannot be set
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Easiest fix: borrow a container. Alpine 3.23 ships OpenSSL 3.5.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run --rm alpine:3.23 sh -c &lt;span class="s1"&gt;'
  apk add -q openssl &amp;gt;/dev/null
  echo | openssl s_client -connect "$0:443" -servername "$0" -groups X25519MLKEM768 2&amp;gt;&amp;amp;1 \
    | grep -E "Negotiated TLS1.3 group|alert"
'&lt;/span&gt; your-endpoint.example.com
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Passing &lt;code&gt;-groups X25519MLKEM768&lt;/code&gt; offers &lt;strong&gt;only&lt;/strong&gt; the hybrid group, so the server can't quietly fall back to classic X25519. Two possible results:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Post-quantum: you're good
Negotiated TLS1.3 group: X25519MLKEM768

# Not post-quantum
ssl/tls alert handshake failure ... SSL alert number 40
Negotiated TLS1.3 group: &amp;lt;NULL&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For a whole inventory I wrote a ~100-line Go program (Go 1.24+ supports &lt;code&gt;tls.X25519MLKEM768&lt;/code&gt; natively) that reads hostnames from stdin and, for each one, prints the TLS version, the group negotiated with default preferences, whether a PQ-only offer succeeds, and the leaf certificate's key type. The core of it is just this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;cfg&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&lt;/span&gt;&lt;span class="n"&gt;tls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Config&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nc"&gt;ServerName&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;       &lt;span class="n"&gt;sni&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nc"&gt;CurvePreferences&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="n"&gt;tls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CurveID&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;tls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;X25519MLKEM768&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;// offer ONLY the hybrid group&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;conn&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;tls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;DialWithDialer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;dialer&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="s2"&gt;"tcp"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;addr&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;cfg&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;pq&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="n"&gt;err&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="kc"&gt;nil&lt;/span&gt; &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="n"&gt;conn&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;ConnectionState&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;CurveID&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;tls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;X25519MLKEM768&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Feed it every hostname from Route 53, your CloudFront distributions, and your API Gateway custom domains, and you have your inventory.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why CloudFront "just works"
&lt;/h2&gt;

&lt;p&gt;CloudFront &lt;a href="https://aws.amazon.com/about-aws/whats-new/2025/09/amazon-cloudfront-TLS-policy-post-quantum-support" rel="noopener noreferrer"&gt;turned on hybrid post-quantum key exchange for viewer connections in September 2025&lt;/a&gt;, across &lt;strong&gt;all&lt;/strong&gt; existing security policies, with no configuration. It &lt;a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html" rel="noopener noreferrer"&gt;supports &lt;code&gt;X25519MLKEM768&lt;/code&gt; and &lt;code&gt;SecP256r1MLKEM768&lt;/code&gt; over TLS 1.3&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Edge-optimized API Gateway endpoints are fronted by CloudFront, so they inherit this for free. Ours negotiated &lt;code&gt;X25519MLKEM768&lt;/code&gt; without anyone ever having thought about it.&lt;/p&gt;

&lt;p&gt;One caveat: that's the &lt;strong&gt;viewer&lt;/strong&gt; side only. The connection from CloudFront to your origin (often an ALB) is a separate TLS session, and &lt;a href="https://aws.amazon.com/security/post-quantum-cryptography/aws-pq-readiness-confidentiality/" rel="noopener noreferrer"&gt;AWS's PQ readiness page&lt;/a&gt; still lists origin-side support as "coming soon."&lt;/p&gt;

&lt;h2&gt;
  
  
  Why your ALB almost certainly isn't
&lt;/h2&gt;

&lt;p&gt;Post-quantum key exchange requires &lt;strong&gt;TLS 1.3&lt;/strong&gt;, and it requires one of the newer ELB security policies. AWS &lt;a href="https://docs.aws.amazon.com/elasticloadbalancing/latest/application/describe-ssl-policies.html" rel="noopener noreferrer"&gt;added them in late 2025&lt;/a&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;ELBSecurityPolicy-TLS13-1-3-PQ-2025-09&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ELBSecurityPolicy-TLS13-1-2-PQ-2025-09&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;ELBSecurityPolicy-TLS13-1-0-PQ-2025-09&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;…plus &lt;code&gt;-FIPS-&lt;/code&gt; variants and, as of mid-2026, CNSA 2.0 policies for the strictest environments.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Here's the gotcha that explains why so few people are on them:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;The console defaults to &lt;code&gt;ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09&lt;/code&gt;. The API, CLI, CloudFormation and CDK default to &lt;code&gt;ELBSecurityPolicy-2016-08&lt;/code&gt;.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you build infrastructure as code (and you should), and you never set &lt;code&gt;ssl_policy&lt;/code&gt; explicitly, you got a 2016 policy that doesn't offer TLS 1.3 at all, let alone ML-KEM.&lt;/p&gt;

&lt;p&gt;We had a second twist: our Terraform for the production listeners didn't set &lt;code&gt;ssl_policy&lt;/code&gt; at all. The live values had been changed by hand in the console years ago, so the code wasn't actually managing them. If yours looks like that, fix the drift first so the change goes through review like everything else.&lt;/p&gt;

&lt;h3&gt;
  
  
  Find every listener's policy
&lt;/h3&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="k"&gt;for&lt;/span&gt; region &lt;span class="k"&gt;in&lt;/span&gt; us-east-1 us-west-2 eu-west-1&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
  &lt;span class="k"&gt;for&lt;/span&gt; lb &lt;span class="k"&gt;in&lt;/span&gt; &lt;span class="nv"&gt;$(&lt;/span&gt;aws elbv2 describe-load-balancers --region &lt;span class="s2"&gt;"$region"&lt;/span&gt; \
                --query &lt;span class="s1"&gt;'LoadBalancers[].LoadBalancerArn'&lt;/span&gt; --output text&lt;span class="o"&gt;)&lt;/span&gt;&lt;span class="o"&gt;;&lt;/span&gt; &lt;span class="k"&gt;do&lt;/span&gt;
    aws elbv2 describe-listeners --region &lt;span class="s2"&gt;"$region"&lt;/span&gt; --load-balancer-arn &lt;span class="s2"&gt;"$lb"&lt;/span&gt; \
      --query &lt;span class="s1"&gt;'Listeners[?Protocol==`HTTPS` || Protocol==`TLS`].[LoadBalancerArn,Port,SslPolicy]'&lt;/span&gt; \
      --output text
  &lt;span class="k"&gt;done&lt;/span&gt;
&lt;span class="k"&gt;done&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Anything that doesn't end in &lt;code&gt;-PQ-2025-09&lt;/code&gt; (or a CNSA2 policy) is not post-quantum.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before you flip the policy: check who's actually connecting
&lt;/h2&gt;

&lt;p&gt;Changing a TLS policy is the kind of change that's trivial in Terraform and painful at 2 a.m. when some customer's ancient integration stops connecting. So before choosing a new policy, I looked at what clients actually negotiate today.&lt;/p&gt;

&lt;p&gt;If your ALB access logs go to CloudWatch Logs, this is one Logs Insights query:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;stats count(*) as requests by ssl_protocol, ssl_cipher
| sort requests desc
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Over 14 days and roughly 10 million requests on our busiest production ALB, the answer was boring in the best way:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;99.15% TLS 1.2, every single one using &lt;code&gt;ECDHE-RSA-AES128-GCM-SHA256&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;0.85% plain HTTP on port 80 (redirects)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero&lt;/strong&gt; TLS 1.3, because the old policy never offered it&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero&lt;/strong&gt; TLS 1.0 / 1.1&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;On an older internal ALB still on &lt;code&gt;ELBSecurityPolicy-2016-08&lt;/code&gt;, I found exactly four TLS 1.0/1.1 requests in two weeks. All four hit the load balancer's raw IP or AWS DNS name with no hostname, ancient or missing user agents, and got 401/400 responses. Those were internet scanners, not customers.&lt;/p&gt;

&lt;p&gt;That gave me a safe mapping that keeps every cipher clients actually use:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Current policy&lt;/th&gt;
&lt;th&gt;Move to&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ELBSecurityPolicy-2016-08&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;ELBSecurityPolicy-TLS13-1-0-PQ-2025-09&lt;/code&gt; (same legacy reach, adds TLS 1.3 + PQ)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ELBSecurityPolicy-FS-1-2-Res-2020-10&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;I diffed the cipher lists with &lt;code&gt;aws elbv2 describe-ssl-policies --names &amp;lt;old&amp;gt; &amp;lt;new&amp;gt;&lt;/code&gt; to confirm nothing in use gets dropped. Once you know your traffic, tightening from &lt;code&gt;1-0&lt;/code&gt; to &lt;code&gt;1-2&lt;/code&gt; can be a separate, boring change later.&lt;/p&gt;

&lt;p&gt;The Terraform change itself is one line:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight hcl"&gt;&lt;code&gt;&lt;span class="n"&gt;resource&lt;/span&gt; &lt;span class="s2"&gt;"aws_lb_listener"&lt;/span&gt; &lt;span class="s2"&gt;"https"&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;load_balancer_arn&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;aws_lb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arn&lt;/span&gt;
  &lt;span class="n"&gt;port&lt;/span&gt;              &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;443&lt;/span&gt;
  &lt;span class="n"&gt;protocol&lt;/span&gt;          &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"HTTPS"&lt;/span&gt;
  &lt;span class="n"&gt;ssl_policy&lt;/span&gt;        &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s2"&gt;"ELBSecurityPolicy-TLS13-1-2-Res-PQ-2025-09"&lt;/span&gt;
  &lt;span class="n"&gt;certificate_arn&lt;/span&gt;   &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;aws_acm_certificate&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;main&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;arn&lt;/span&gt;
  &lt;span class="c1"&gt;# ...&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Clients that don't speak ML-KEM keep negotiating classic X25519 or P-256 over TLS 1.3, or TLS 1.2 where the policy allows it. Hybrid key exchange is additive. Nobody gets locked out because their client is older.&lt;/p&gt;

&lt;h2&gt;
  
  
  Regional API Gateway: opt in
&lt;/h2&gt;

&lt;p&gt;Regional and private REST APIs with custom domains &lt;a href="https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-security-policies-list.html" rel="noopener noreferrer"&gt;got post-quantum security policies in November 2025&lt;/a&gt;, such as &lt;code&gt;SecurityPolicy_TLS13_1_2_PQ_2025_09&lt;/code&gt;, plus PFS and FIPS variants. They're opt-in, and the default for a new custom domain is still &lt;code&gt;TLS_1_0&lt;/code&gt;. All 21 of our regional custom domains were on the old policies.&lt;/p&gt;

&lt;p&gt;If your custom domains are defined in a Serverless Framework or SAM template inside each application repo (ours were), this becomes a change in many repos instead of one, so plan for that.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't forget the client side
&lt;/h2&gt;

&lt;p&gt;Hybrid key exchange only happens if &lt;strong&gt;both&lt;/strong&gt; ends support it. The good news is that the AWS service endpoints themselves (KMS, Secrets Manager, S3, ACM and others) already accept ML-KEM from clients that offer it. Whether &lt;em&gt;your&lt;/em&gt; code offers it depends on the TLS library (AWS keeps &lt;a href="https://docs.aws.amazon.com/sdkref/latest/guide/pqtls-details.html" rel="noopener noreferrer"&gt;a per-SDK table&lt;/a&gt;):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Go 1.24+&lt;/strong&gt;: on by default in &lt;code&gt;crypto/tls&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Python / boto3&lt;/strong&gt;: uses the host's OpenSSL, so you need OpenSSL 3.5. Amazon Linux 2023 and Debian 13 (trixie) ship 3.5. &lt;strong&gt;Debian 12 (bookworm) ships 3.0&lt;/strong&gt;, and so do a lot of &lt;code&gt;python:*-bookworm&lt;/code&gt; images.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Node.js&lt;/strong&gt;: Node uses its bundled OpenSSL, not the OS one. Recent Node 22 and 24 releases bundle 3.5. Node 20 bundles 3.0.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Java&lt;/strong&gt;: hybrid key exchange arrived in JDK 27 (&lt;a href="https://openjdk.org/jeps/527" rel="noopener noreferrer"&gt;JEP 527&lt;/a&gt;). Older LTS releases don't have it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If your containers are still on bookworm-based images, your service-to-AWS traffic isn't post-quantum even though AWS is ready. A base image bump fixes that.&lt;/p&gt;

&lt;h2&gt;
  
  
  What about certificates?
&lt;/h2&gt;

&lt;p&gt;This is where you can relax a bit, because there is no action available yet:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;ACM can issue RSA 2048, ECDSA P-256 and P-384 public certificates. No ML-DSA.&lt;/li&gt;
&lt;li&gt;No publicly trusted ML-DSA certificates exist yet. The browser ecosystem is heading toward Merkle Tree Certificates, which &lt;a href="https://letsencrypt.org/2026/06/03/pq-certs" rel="noopener noreferrer"&gt;Let's Encrypt plans to offer in production in 2027&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;For &lt;strong&gt;private&lt;/strong&gt; PKI you can start now: AWS Private CA &lt;a href="https://aws.amazon.com/about-aws/whats-new/2025/11/aws-private-ca-post-quantum-digital-certificates" rel="noopener noreferrer"&gt;issues ML-DSA certificates&lt;/a&gt;, and KMS &lt;a href="https://aws.amazon.com/about-aws/whats-new/2025/06/aws-kms-post-quantum-ml-dsa-digital-signatures" rel="noopener noreferrer"&gt;supports ML-DSA signing keys&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Remember the refresher at the top: signatures protect against &lt;em&gt;live&lt;/em&gt; impersonation, which needs a working quantum computer at the moment of the attack. Key exchange protects your recorded traffic from being decrypted later. Fix key exchange first.&lt;/p&gt;

&lt;h2&gt;
  
  
  My checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Inventory.&lt;/strong&gt; Probe every public hostname with a PQ-only offer. It takes minutes and gives you a real answer instead of a guess.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Leave CloudFront and edge-optimized APIs alone.&lt;/strong&gt; They're done.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check ALB/NLB listeners.&lt;/strong&gt; Read your access logs, pick the &lt;code&gt;-PQ-2025-09&lt;/code&gt; policy that keeps the ciphers you see, and set &lt;code&gt;ssl_policy&lt;/code&gt; &lt;strong&gt;explicitly&lt;/strong&gt; in code.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Opt regional API Gateway custom domains into a &lt;code&gt;_PQ_&lt;/code&gt; policy.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bump client runtimes and base images&lt;/strong&gt; to OpenSSL 3.5, Go 1.24+, or a current Node/JDK.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Track certificates,&lt;/strong&gt; but don't block on them.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The surprising part of this exercise wasn't the cryptography. It was that a security property of our edge depended almost entirely on a default value nobody had looked at since 2016. If you only do one thing after reading this, run that &lt;code&gt;describe-listeners&lt;/code&gt; loop and look at the last column.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Have you rolled out the PQ policies on your load balancers? I'd love to hear whether any clients broke, so please tell me in the comments.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>security</category>
      <category>aws</category>
      <category>tls</category>
      <category>postquantum</category>
    </item>
  </channel>
</rss>
