<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks" -->

---
title: Automatic Key Exchange: faster, post-quantum secure...
description: Cloudflare launched Automatic Key Exchange, a feature that actively probes TLS 1.3-capable origin servers to determine which key agreement algorithms they...
canonical: https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections (and counting) | daily.dev
og:description: Cloudflare launched Automatic Key Exchange, a feature that actively probes TLS 1.3-capable origin servers to determine which key agreement algorithms they...
og:url: https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks
og:image: https://api.daily.dev/og/posts/YBDrysxKS.png
og:image:alt: Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections (and counting)
og:image:width: 1200
og:image:height: 630
og:locale: 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.

# Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections (and counting)

**[Cloudflare](https://daily.dev/sources/cloudflare)** · 18 min read · 1 upvotes · 0 comments

## Summary

Cloudflare launched Automatic Key Exchange, a feature that actively probes TLS 1.3-capable origin servers to determine which key agreement algorithms they support, then leads with the strongest one (preferring post-quantum X25519MLKEM768) on the first handshake attempt instead of guessing. Previously Cloudflare always guessed X25519 first, which was suboptimal for about 30% of origins. The rollout cut HelloRetryRequest rates from roughly 52% to 3.7%, reduced p90 handshake latency by over 150ms, and grew post-quantum origin traffic from 25 billion to 45 billion daily connections. The feature is on by default, with new compliance settings for strict post-quantum or FIPS-only negotiation, and further work planned on per-origin granularity, on-demand rescans, and post-quantum origin authentication to prevent downgrade attacks.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.cloudflare.com/automatic-key-exchange-for-origins>

## Questions this post answers

### What is Cloudflare's Automatic Key Exchange feature and how does it reduce TLS handshake latency?

Automatic Key Exchange is a Cloudflare feature that scans TLS 1.3 origin servers to learn which key agreement algorithms they support, then leads with the strongest one on the first ClientHello instead of always guessing X25519. This eliminated most HelloRetryRequest round trips, dropping the HRR rate from roughly 52% to 3.7% and cutting p90 handshake latency by more than 150 milliseconds.

_See how daily.dev surfaces infrastructure changes like this for engineers optimizing TLS handshake performance._

### How much did post-quantum origin traffic grow after Cloudflare enabled Automatic Key Exchange?

Post-quantum origin traffic grew from roughly 25 billion to 45 billion connections per day after Cloudflare's Automatic Key Exchange rollout. Among scanned domains, about 33% now prefer the post-quantum hybrid X25519MLKEM768, while 64% remained on classical X25519 and 3% moved to another classical curve like P-384 or P-256.

_Track post-quantum adoption milestones like this on daily.dev while planning your own TLS security roadmap._

### What happens if I enable post-quantum-only enforcement on an origin that doesn't support X25519MLKEM768?

Enforcing post-quantum hybrid key agreement on an origin lacking X25519MLKEM768 support leaves no mutually supported algorithm, causing all TLS 1.3 connections to that origin to fail. Cloudflare recommends leaving strict post-quantum or FIPS enforcement options unselected unless there is a specific policy obligation, letting Automatic Key Exchange negotiate safely instead.

_Check daily.dev before flipping strict TLS compliance settings that could break your origin connections._

## Similar posts on daily.dev

- [Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7%](https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh) · InfoQ · 0 upvotes · 0 comments
- [Is your domain using post-quantum encryption? Now you can see for yourself](https://daily.dev/posts/is-your-domain-using-post-quantum-encryption-now-you-can-see-for-yourself-utdvgngep) · Cloudflare · 0 upvotes · 0 comments
- [Growing PQC at the edge belies deeper quantum-readiness challenges](https://daily.dev/posts/growing-pqc-at-the-edge-belies-deeper-quantum-readiness-challenges-mxxye6hvp) · CSO Online · 0 upvotes · 0 comments
- [Post-Quantum Hybrid Key Exchange for TLS 1.3 – Inside.java](https://daily.dev/posts/post-quantum-hybrid-key-exchange-for-tls-1-3-inside-java-dumdzgplr) · Inside Java · 0 upvotes · 0 comments

---

Tags: [#quantum-computing](https://daily.dev/tags/quantum-computing), [#cryptography](https://daily.dev/tags/cryptography), [#cloudflare](https://daily.dev/tags/cloudflare)

[View this post on daily.dev](https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections (and counting)","url":"https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks"},"datePublished":"2026-09-08T13:23:08.061Z","dateModified":"2026-09-14T08:35:59.841Z","description":"Cloudflare launched Automatic Key Exchange, a feature that actively probes TLS 1.3-capable origin servers to determine which key agreement algorithms they...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b3c0b86c8f1dd07a69766cebbb8122f2?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/b3c0b86c8f1dd07a69766cebbb8122f2?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Cloudflare","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Cloudflare","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/38522e1d11354cd6b7af66f9d4316735","url":"https://daily.dev/sources/cloudflare"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"quantum-computing,cryptography,cloudflare","timeRequired":"PT18M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Cloudflare","item":"https://daily.dev/sources/cloudflare"},{"@type":"ListItem","position":3,"name":"Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections (and counting)"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks#faq","mainEntity":[{"@type":"Question","name":"What is Cloudflare's Automatic Key Exchange feature and how does it reduce TLS handshake latency?","acceptedAnswer":{"@type":"Answer","text":"Automatic Key Exchange is a Cloudflare feature that scans TLS 1.3 origin servers to learn which key agreement algorithms they support, then leads with the strongest one on the first ClientHello instead of always guessing X25519. This eliminated most HelloRetryRequest round trips, dropping the HRR rate from roughly 52% to 3.7% and cutting p90 handshake latency by more than 150 milliseconds. See how daily.dev surfaces infrastructure changes like this for engineers optimizing TLS handshake performance."}},{"@type":"Question","name":"How much did post-quantum origin traffic grow after Cloudflare enabled Automatic Key Exchange?","acceptedAnswer":{"@type":"Answer","text":"Post-quantum origin traffic grew from roughly 25 billion to 45 billion connections per day after Cloudflare's Automatic Key Exchange rollout. Among scanned domains, about 33% now prefer the post-quantum hybrid X25519MLKEM768, while 64% remained on classical X25519 and 3% moved to another classical curve like P-384 or P-256. Track post-quantum adoption milestones like this on daily.dev while planning your own TLS security roadmap."}},{"@type":"Question","name":"What happens if I enable post-quantum-only enforcement on an origin that doesn't support X25519MLKEM768?","acceptedAnswer":{"@type":"Answer","text":"Enforcing post-quantum hybrid key agreement on an origin lacking X25519MLKEM768 support leaves no mutually supported algorithm, causing all TLS 1.3 connections to that origin to fail. Cloudflare recommends leaving strict post-quantum or FIPS enforcement options unselected unless there is a specific policy obligation, letting Automatic Key Exchange negotiate safely instead. Check daily.dev before flipping strict TLS compliance settings that could break your origin connections."}}]}
```

