<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh" -->

---
title: Cloudflare Measures Origin TLS Preferences, Cutting...
description: Cloudflare replaced its static assumption that every origin server prefers X25519 for TLS 1.3 key exchange with per-origin active measurement, called Automatic...
canonical: https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7% | daily.dev
og:description: Cloudflare replaced its static assumption that every origin server prefers X25519 for TLS 1.3 key exchange with per-origin active measurement, called Automatic...
og:url: https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh
og:image: https://api.daily.dev/og/posts/imENahndh.png
og:image:alt: Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7%
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.

# Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7%

**[InfoQ](https://daily.dev/sources/infoq)** · 6 min read · 0 upvotes · 0 comments

## Summary

Cloudflare replaced its static assumption that every origin server prefers X25519 for TLS 1.3 key exchange with per-origin active measurement, called Automatic Key Exchange. This cut HelloRetryRequests on scanned origins from about 52% to 3.7% and removed over 150ms from p90 handshake latency. For origins supporting post-quantum X25519MLKEM768, one-round-trip completion rose from 0% to 99.2%, though only 12.8% of origins currently support post-quantum key exchange. The feature probes origins outside the production traffic path, rescans daily, and rolls back automatically if retry rates climb. A related Origin Post-Quantum Encryption API is becoming a no-op ahead of planned deprecation, and Cloudflare is also pushing ML-DSA post-quantum signatures for origin authentication as a separate half of the quantum-readiness problem.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.infoq.com/news/2026/09/cloudflare-automatic-key-exchang>

## Questions this post answers

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

Automatic Key Exchange is a Cloudflare extension of Automatic SSL/TLS that actively probes each origin server to learn its supported and preferred key exchange algorithms, rather than assuming X25519 for every origin. This per-origin measurement cut HelloRetryRequest rates on scanned origins from roughly 52% to 3.7% and removed over 150ms from p90 handshake latency by leading with the correct algorithm on the first attempt.

_daily.dev surfaces infrastructure changes like this for engineers tuning origin TLS performance._

### Is Cloudflare's Origin Post-Quantum Encryption API still usable?

The Origin Post-Quantum Encryption API remains callable but requests to it are now no-ops that no longer change a zone's post-quantum key agreement behavior, since Automatic Key Exchange now handles this automatically. Cloudflare has stated it plans to deprecate the API eventually but has not given a specific date, so teams with existing automation calling it should stop relying on it.

_Track quiet API deprecations like this on daily.dev before automation silently stops working._

### Why does enabling post-quantum key exchange sometimes break TLS 1.3 connections to an origin server?

An X25519MLKEM768 post-quantum keyshare is 1,216 bytes versus X25519's 32 bytes, pushing the ClientHello past a single network packet and requiring multi-packet TCP segments. Some legacy middleboxes and origin servers fail on split ClientHellos; around 0.34% of scanned origins failed to complete the handshake when sent a post-quantum keyshare first, which is why Cloudflare enforcing a post-quantum-hybrid-only compliance setting against a non-supporting origin causes all TLS 1.3 connections to fail.

_Engineers rolling out post-quantum TLS settings can follow coverage like this on daily.dev to avoid outages._

## Similar posts on daily.dev

- [Automatic Key Exchange: faster, post-quantum secure origin handshakes for 45 billion daily connections \(and counting\)](https://daily.dev/posts/automatic-key-exchange-faster-post-quantum-secure-origin-handshakes-for-45-billion-daily-connectio-ybdrysxks) · Cloudflare · 1 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
- [Cloudflare Develops Public Certificate Authority for Post-Quantum Web Security](https://daily.dev/posts/cloudflare-develops-public-certificate-authority-for-post-quantum-web-security-7sepsuicp) · InfoQ · 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/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh)

```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":"Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7%","url":"https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh"},"datePublished":"2026-09-20T08:25:49.333Z","dateModified":"2026-09-20T08:26:14.248Z","description":"Cloudflare replaced its static assumption that every origin server prefers X25519 for TLS 1.3 key exchange with per-origin active measurement, called Automatic...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/12a1c4738c6ced6b2371196c6ef554cd?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/12a1c4738c6ced6b2371196c6ef554cd?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoQ","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":"InfoQ","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/afc3bced3e1e4b188dd9127017a60e0c","url":"https://daily.dev/sources/infoq"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"quantum-computing,cryptography,cloudflare","timeRequired":"PT6M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoQ","item":"https://daily.dev/sources/infoq"},{"@type":"ListItem","position":3,"name":"Cloudflare Measures Origin TLS Preferences, Cutting Handshake Retries from 52% to 3.7%"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/cloudflare-measures-origin-tls-preferences-cutting-handshake-retries-from-52-to-3-7--imenahndh#faq","mainEntity":[{"@type":"Question","name":"What is Cloudflare's Automatic Key Exchange feature and how does it reduce TLS handshake retries?","acceptedAnswer":{"@type":"Answer","text":"Automatic Key Exchange is a Cloudflare extension of Automatic SSL/TLS that actively probes each origin server to learn its supported and preferred key exchange algorithms, rather than assuming X25519 for every origin. This per-origin measurement cut HelloRetryRequest rates on scanned origins from roughly 52% to 3.7% and removed over 150ms from p90 handshake latency by leading with the correct algorithm on the first attempt. daily.dev surfaces infrastructure changes like this for engineers tuning origin TLS performance."}},{"@type":"Question","name":"Is Cloudflare's Origin Post-Quantum Encryption API still usable?","acceptedAnswer":{"@type":"Answer","text":"The Origin Post-Quantum Encryption API remains callable but requests to it are now no-ops that no longer change a zone's post-quantum key agreement behavior, since Automatic Key Exchange now handles this automatically. Cloudflare has stated it plans to deprecate the API eventually but has not given a specific date, so teams with existing automation calling it should stop relying on it. Track quiet API deprecations like this on daily.dev before automation silently stops working."}},{"@type":"Question","name":"Why does enabling post-quantum key exchange sometimes break TLS 1.3 connections to an origin server?","acceptedAnswer":{"@type":"Answer","text":"An X25519MLKEM768 post-quantum keyshare is 1,216 bytes versus X25519's 32 bytes, pushing the ClientHello past a single network packet and requiring multi-packet TCP segments. Some legacy middleboxes and origin servers fail on split ClientHellos; around 0.34% of scanned origins failed to complete the handshake when sent a post-quantum keyshare first, which is why Cloudflare enforcing a post-quantum-hybrid-only compliance setting against a non-supporting origin causes all TLS 1.3 connections to fail. Engineers rolling out post-quantum TLS settings can follow coverage like this on daily.dev to avoid outages."}}]}
```

