Vendor: Cloudflare · https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-to-origin/ · Last reviewed 2026-12-05 · History
Summary
- Key agreement: hybrid X25519MLKEM768 is the default on all plans when the origin supports it over TLS 1.3.1
- Authentication: ML-DSA certificates are available in both directions, through Authenticated Origin Pulls and Custom Origin Trust Store. Both need configuration.2
- Classical key agreement can be disabled by the customer: the “Post-quantum hybrid” compliance requirement allows only hybrid groups, and origins that cannot comply fail with error 525.1
- Classical authentication can be disabled by the customer, by trusting only ML-DSA certificate authorities on each side. There is no single switch.2
- Origin CA certificates and the shared Global Authenticated Origin Pulls certificate remain classical or unstated.23
To allow only hybrid key agreement, set the zone’s compliance requirement to Post-quantum hybrid (API value
["pqh"]).1
ML-DSA for Global Authenticated Origin Pulls “will be prioritized at a later date”, with no date given.4
Cryptographic operations
Cloudflare is the TLS client. Tunnel origins are on the Tunnel page.
- Key agreement (TLS 1.3): automatic key exchange scans each zone’s origins about monthly (X25519, P-256, P-384, P-521, X25519MLKEM768) and sends the best supported share first; other allowed groups stay advertised for HelloRetryRequest.15 Applies in Full, Full (strict) or Strict (SSL-Only Origin Pull) mode, to TLS 1.3 origins, not through Tunnel.1
- Verifying the origin certificate: Custom Origin Trust Store (COTS) replaces the default store with the customer’s CAs, including ML-DSA-44, -65, -87 (Cloudflare recommends ML-DSA-44); needs Advanced Certificate Manager.4
- Authenticating to the origin: zone-level and per-hostname AOP “support ML-DSA (FIPS 204) post-quantum client certificates”, on all plans.46 Global AOP “is not configurable” and its algorithm is not stated (checked 2026-12-05).2 AOP is incompatible with Tunnel.6
- Origin CA certificates: key type “can be RSA or ECC”; no ML-DSA Origin CA documented (checked 2026-12-05). Classical.3
Configuration
Enabling PQC
- Key agreement: nothing to enable; the origin must support X25519MLKEM768 over TLS 1.3.1 Test, and find the setting under SSL/TLS > Overview > Origin connection & post-quantum encryption:
bssl client -connect <YOUR_ORIGIN>:443 -curves X25519MLKEM768
- Authentication: generate the ML-DSA CA and leaf with OpenSSL 3.5.0 or later, seed-only keys, then upload the CA to COTS or the client certificate to AOP. The origin must negotiate TLS 1.3. A COTS upload “replaces the default publicly trusted CAs for the zone”.2
openssl genpkey -algorithm mldsa44 \
-provparam ml-dsa.output_formats=seed-only -out ca.key
Disabling classical algorithms
Key agreement, per zone, by the customer: the Post-quantum hybrid requirement “Allows only hybrid post-quantum key agreements.”1
| Selection | API value |
|---|---|
| No selection | [] |
| Post-quantum hybrid | ["pqh"] |
| FIPS | ["fips"] |
| Post-quantum hybrid and FIPS | ["pqh", "fips"] |
- Non-compliant servers “will fail the TLS handshake and return a 525 error”; applies to TLS 1.3 only and to
fetch()from Workers. The older Origin Post-Quantum Encryption API is deprecated.1 - Authentication has no single switch:2 COTS: “Upload only ML-DSA certificate authorities” (a remaining classical authority is still accepted). AOP: “require the ML-DSA client certificate and … reject classical client certificates” at the origin.
Vendor commitments
- 2026-07-29: Merkle Tree Certificates on the origin connection “in the future”, no date;4 see Merkle Tree Certificates. Global AOP ML-DSA “at a later date”.4
- Met: the April 2026 roadmap’s mid-2026 ML-DSA target7 shipped 2026-07-29.4
References
-
Cloudflare Docs, “Automatic key exchange to origins”. https://developers.cloudflare.com/ssl/origin-configuration/automatic-key-exchange/ (accessed 2026-12-05). ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
-
Cloudflare Docs, “Post-quantum between Cloudflare and origin servers”. https://developers.cloudflare.com/ssl/post-quantum-cryptography/pqc-to-origin/ (accessed 2026-12-05). ↩ ↩2 ↩3 ↩4 ↩5 ↩6
-
Cloudflare Docs, “Cloudflare origin CA”. https://developers.cloudflare.com/ssl/origin-configuration/origin-ca/ (accessed 2026-12-05). ↩ ↩2
-
Cloudflare Blog, post-quantum authentication to origins, 2026-07-29. https://blog.cloudflare.com/post-quantum-authentication-to-origins/ (accessed 2026-12-05). ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
-
Cloudflare Blog, Automatic Key Exchange announcement, 2026-09-08. https://blog.cloudflare.com/automatic-key-exchange-for-origins/ (accessed 2026-12-05). ↩ ↩2 ↩3
-
Cloudflare Docs, “Authenticated Origin Pulls (mTLS)”. https://developers.cloudflare.com/ssl/origin-configuration/authenticated-origin-pull/ (accessed 2026-12-05). ↩ ↩2
-
Cloudflare Blog, “Cloudflare targets 2029 for full post-quantum security”, 2026-04-07. https://blog.cloudflare.com/post-quantum-roadmap/ (accessed 2026-12-05). ↩