In December 2026, the National Security Agency (NSA) published a cybersecurity advisory titled Immediate Actions to Push Toward Post-Quantum. It lists six actions, ordered "to emphasize quick wins with the broadest reach first." The second action targets TLS. That matters for Consul users, because every service-to-service call in a Consul service mesh is a mutual TLS (mTLS) connection.
Consul 2.1 adds hybrid post-quantum key exchange to both service mesh and agent TLS. This post explains why we built it, what shipped, and how it lines up with each action in the advisory. It also explains why we started with key exchange, and what we're working toward next. Part 2 walks through enabling it step by step.
Key Takeaways
In December 2026, NSA's PQC advisory ranked moving TLS to TLS 1.3 with PQC settings as action two of six (NSA, 2026).
Consul 2.1 offers the RFC 10024 hybrid group
X25519MLKEM768on mesh and agent TLS.We started with key exchange because recorded traffic can be decrypted later.
Post-quantum signatures and CNSA 2.0 key exchange come next.
»What problem does post-quantum TLS solve for a service mesh?
In August 2024, NIST published FIPS 203, which standardizes ML-KEM, a key-encapsulation mechanism "believed to be secure, even against adversaries who possess a quantum computer" (NIST, FIPS 203, 2024). For a service mesh, it addresses one risk above all others: someone recording your encrypted traffic today and decrypting it later.
That attack is usually called harvest now, decrypt later. An adversary captures TLS sessions and stores them. Classical key exchange, such as elliptic-curve Diffie-Hellman (ECDH), relies on math that a cryptographically relevant quantum computer could solve. If that day comes, the stored session keys fall, and so does everything those sessions carried.
Why should east-west mesh traffic worry you? Because it's where the sensitive payloads live. Service calls carry customer records, payment details, access tokens, and internal API responses. Much of that data stays sensitive for years. A recording made in 2026 is still dangerous in 2036 if the data is still valuable.
AI workloads raise the stakes. Agents, MCP servers, and models that run as mesh services talk over the same sidecar mTLS. Those calls can carry prompts, tool results, and retrieved records. For that traffic, quantum-resistant key exchange isn't optional hardening. It's part of protecting the data itself.
The key insight is timing. You can't retroactively protect a session after it's been recorded. Protection has to be in place when the handshake happens. That's why key exchange is the first thing to fix, even while certificate signatures remain classical. Signatures and key exchange carry different quantum risk: a forged signature only helps an attacker who has a quantum computer at the time of the connection, whereas a broken key exchange helps anyone who recorded the session at any point before. That asymmetry is what drives the order of work in Consul 2.1.
In 2024, NIST standardized ML-KEM in FIPS 203 as a key-encapsulation mechanism believed to resist quantum attack (NIST, FIPS 203, 2024). For service meshes, the urgent quantum risk is recorded traffic. Hybrid ML-KEM key exchange protects new TLS sessions against later decryption, even though certificates stay classical.
»What does NSA's December 2026 PQC advisory ask you to do?
In December 2026, NSA's Immediate Actions to Push Toward Post-Quantum advisory set out six actions for organizations that are between planning and full PQC transition (NSA, 2026). It frames them as interim security boosts, and says they belong in a coordinated effort under Executive Order 14412.
Here's the short version of each action:
Inventory where cryptography is used. Record the algorithms each system uses for key establishment, signatures, and certificates.
Move TLS services to TLS 1.3 with approved crypto profiles. Enable PQC settings where available. Remove weaker elliptic-curve options.
Stand up PQC certificate authorities and roots of trust. Use RSA 3K or P-384 as the base size for roots.
Replace or reconfigure certificates, PKI, and code signing. Reissue certificates that use deprecated algorithms.
Update software and firmware to enable PQC. Then configure products to use only the approved profile.
Triage systems you can't upgrade, and detect weak crypto in live traffic.
The TLS action has the most direct bearing on Consul. The advisory explains why it comes early: "Transport Layer Security (TLS) is the broadest-reach protocol in environments for many organizations. Updating TLS servers often delivers immediate risk reduction through configuration changes without waiting on major redesigns."
It also includes a detail that's easy to miss. A footnote states: "TLS 1.3 selects algorithms differently than TLS 1.2. In particular, the key establishment mechanism must be separately configured." In other words, raising your TLS version isn't enough. You also need a way to choose the key-exchange group. Before 2.1, Consul's mesh configuration had no such field.
For hybrid key exchange, the advisory points to one standard: "If needing a hybrid key exchange, configure according to IETF RFC 10024 specifications." One scope note worth keeping in mind: the advisory's footnote ties PQC to CNSA 2.0 for national security systems, and its own disclaimer says it doesn't endorse any commercial product. This post maps Consul features to the advisory's actions; it isn't a claim of NSA approval or CNSA 2.0 compliance.
In its December 2026 advisory, NSA ranks moving TLS services to TLS 1.3 with PQC settings as the second of six immediate actions. It notes that TLS 1.3 key establishment "must be separately configured" and that hybrid key exchange should follow IETF RFC 10024 (NSA, 2026).
»What did Consul 2.1 actually ship?
In 2026, the IETF published RFC 10024, which defines three hybrid TLS 1.3 groups, including X25519MLKEM768 (IETF, RFC 10024, 2026). Consul 2.1 lets you configure that group, alongside four classical groups, on the TLS connections Consul controls. It's the "separately configured" key-establishment control the advisory describes.
X25519MLKEM768 combines classical X25519 with ML-KEM-768. Both secrets feed the TLS key schedule. An attacker would have to break both to recover the session key.
Here's how that lines up with the advisory. It asks operators to enable PQC settings in TLS where available, and to follow RFC 10024 when they need hybrid key exchange. X25519MLKEM768 is an RFC 10024 group. This is key exchange, not certificate signatures. Both matter, and the advisory covers them in separate actions. Consul 2.1 delivers the first. Signatures are the next step.
»Two TLS surfaces, configured separately
Consul 2.1 adds a key-exchange group setting to both places where Consul terminates TLS:
Surface | What it protects | Where you set it |
Service mesh | Sidecar-to-sidecar mTLS, terminating gateway mesh listeners, and mesh upstreams from ingress and API gateways | |
Agent | Agent internal RPC, HTTPS API, and gRPC |
|
Kubernetes | The mesh policy above, written through the Mesh custom resource |
|
Both surfaces accept the same five groups: X25519MLKEM768, X25519, P-256, P-384, and P-521. Consul validates names before it accepts the configuration, so a typo can't silently reach Envoy.
Here's what a mesh policy looks like:
Kind = "mesh"
Name = "mesh"
TLS {
Incoming {
TLSMinVersion = "TLSv1_3"
TLSMaxVersion = "TLSv1_3"
ECDHCurves = ["X25519MLKEM768", "X25519"]
}
Outgoing {
TLSMinVersion = "TLSv1_3"
TLSMaxVersion = "TLSv1_3"
ECDHCurves = ["X25519MLKEM768", "X25519"]
}
}»A hybrid default once you require TLS 1.3
With a TLS 1.3 minimum and no explicit list, Consul 2.1 selects ["X25519MLKEM768", "X25519"] automatically. That applies to both mesh directions and every agent protocol. The default is applied when Consul builds the Envoy configuration, so existing configuration entries don't need a data migration.
This is also an upgrade consideration. A mesh that already required TLS 1.3 starts offering the hybrid group as soon as it runs 2.1. The Consul 2.1 upgrade guide covers how to prepare.
Agents get similar behavior from another direction. Consul agents use Go's crypto/tls. Since Go 1.24, it enables X25519MLKEM768 by default when no group preference is set (Go 1.24 release notes, 2025). Consul 2.1 makes that choice explicit, visible, and reversible.
»Classical fallback, and a clean way back
The recommended list keeps X25519 as a fallback. Peers that understand the hybrid group use it. Older peers fall back to classical key exchange instead of failing. You can also roll back by writing an explicit classical list, without downgrading Consul or turning TLS off.
Watch for silent fallback: A connection that falls back to classical X25519 gets no hybrid protection. It's exactly as exposed to harvest now, decrypt later as it was before Consul 2.1. Nothing fails, so nothing alerts. In a mixed fleet, any endpoint without hybrid support quietly drags its connections back to classical key exchange. Check the negotiated group in your observability stack, such as Envoy's ssl.curves.* counters. Don't rely on whether traffic flows. Part 2 shows how.
From our testing: During integration testing, mesh policy changes reached running Envoy proxies over xDS in about one second, with no proxy or workload restarts. Existing connections kept their negotiated parameters until they closed. Plan verification around fresh connections, not cumulative counters.
»What does Consul 2.1 cover, and what doesn't it cover yet?
We kept the first release focused on key exchange. This table shows the boundary:
|
Gossip encryption and plaintext interfaces are also unchanged. Gossip is symmetric and separately configured. The feature doesn't turn TLS on where it's off.
Why did we start with key exchange section explains that choice. The post-quantum TLS documentation lists every connection path in scope.

Source: IETF, RFC 10024 (2026). The hybrid client share is about 38 times larger than a classical X25519 share.
That size difference is why compatibility testing matters. A hybrid ClientHello carries about 1.2 KB of key share instead of 32 bytes. Most modern stacks handle this fine. Older middleboxes and TLS stacks sometimes don't.
In 2026, IETF RFC 10024 defined X25519MLKEM768, a hybrid TLS 1.3 group whose client key share is 1,216 bytes versus 32 bytes for X25519 (IETF, RFC 10024, 2026). Consul 2.1 can offer this group on service mesh mTLS and on agent RPC, HTTPS, and gRPC TLS.
»How does Consul 2.1 map to each NSA advisory action?
In December 2026, NSA listed six PQC actions (NSA, 2026). Consul 2.1 is a strong fit for two of them, TLS 1.3 with PQC settings and updating software to enable PQC. It helps partially with inventory and live detection. It doesn't yet address post-quantum certificate authorities or signatures.

Mapping by the Consul team against NSA, Immediate Actions to Push Toward Post-Quantum (December 2026).
Here's the detail behind each rating:
# | Advisory asks | What Consul 2.1 gives you | Rating |
|---|---|---|---|
1 | Record which algorithms each system uses for key establishment and certificates | Key-exchange policy lives in two places: the mesh entry and agent tls stanzas. Envoy's config_dump shows the active groups per listener and cluster. | Partial. Consul shows its own policy. It isn't an org-wide inventory tool. |
2 | Use TLS 1.3, enable PQC settings, follow RFC 10024 for hybrid, remove weaker curves | TLS 1.3 bounds plus X25519MLKEM768, an RFC 10024 group. An allowlist of five groups lets you drop the ones you don't want. | Strong fit for commercial use. See the CNSA 2.0 note below. |
3 | Stand up PQC CAs. Use RSA 3K or P-384 for roots | The Connect CA can generate EC P-384 or RSA 4096 keys. It can't issue post-quantum signatures. | Not yet for PQC. Classical root sizing is available. |
4 | Reissue certificates that rely on deprecated algorithms | Leaf certificates rotate automatically with a 72-hour default TTL, but leaf keys are EC P-256. | Not yet. |
5 | Update products to enable PQC, then "do not leave non-PQC defaults in place" | Upgrading to 2.1 enables the setting. A TLS 1.3 minimum turns on the hybrid default. A hybrid-only list removes classical fallback. | Strong fit. |
6 | Isolate what you can't upgrade, and detect weak crypto in live traffic | Envoy's ssl.curves.* counters show which group each listener and cluster negotiated. Explicit classical lists keep holdouts working. | Partial. Detection is per proxy, not network-wide. |
One note on action 5: the advisory warns against leaving "non-PQC defaults in place." Consul 2.1's automatic default includes X25519 so mixed fleets keep working — that's a classical fallback, by design. Once your verification shows every peer negotiating the hybrid group, consider a hybrid-only list. Part 2 shows how to check first.
In December 2026, NSA listed six PQC transition actions. Consul 2.1 is a strong fit for two: TLS 1.3 with RFC 10024 hybrid key exchange, and software updates that enable PQC. It partially supports inventory and live detection, and doesn't yet provide post-quantum certificate authorities or signatures (NSA, 2026).
Why did we start with key exchange?
In December 2026, NSA ordered its PQC actions "to emphasize quick wins with the broadest reach first" (NSA, 2026). We used the same test to plan Consul's post-quantum work. Which change protects the most traffic, soonest, with the least operational risk? Hybrid key exchange won on every count.
Here's how we weighed it:
- Urgency. Recorded traffic is the one quantum risk you can't fix later. A session captured today stays exposed until its key exchange is post-quantum. A forged signature, by contrast, needs a quantum computer during the live connection.
- Readiness. The building blocks were already standard. NIST finalized ML-KEM in FIPS 203 in 2024. RFC 10024 defines the hybrid TLS groups. Go has enabled
X25519MLKEM768by default since Go 1.24, and the Envoy builds we tested accept it. - Reach. One
meshentry sets policy for every sidecar connection in a datacenter or admin partition. One agenttlsstanza covers RPC, HTTPS, and gRPC. That's the broadest-reach change Consul can make. - Low risk. It's a configuration change. Classical fallback keeps mixed fleets working, and rollback doesn't touch certificates or the CA.
The advisory makes the same point about TLS. Updating it "often delivers immediate risk reduction through configuration changes without waiting on major redesigns." That's exactly the shape of the Consul 2.1 feature.
Why didn't post-quantum certificates ship first?
Key exchange is step one. Certificate signatures are step two, and that's where our post-quantum work goes next. We're saying this plainly because post-quantum TLS isn't "solved" until both are in place. The advisory treats them as separate actions, and so do we.
Signatures came second because they depend on more than Consul. A post-quantum Connect CA needs ML-DSA signatures from end to end. Go's new crypto/mldsa package, and ML-DSA support in crypto/x509 and crypto/tls, arrive in Go 1.27 (Go 1.27 release notes). Consul 2.1 is built on Go 1.26.
Consul is only one link in the chain. Every Envoy proxy has to validate ML-DSA certificates. External CA providers, such as Vault, have to issue them. And every workload has to trust the new chain through a CA rotation. Shipping signatures before those pieces are ready would give you certificates your proxies can't verify.
Why X25519MLKEM768 rather than a CNSA 2.0 group?
We picked the hybrid group with the widest support today. RFC 10024 says X25519MLKEM768 "is widely deployed, and often serves as the most practical choice" for a single hybrid group. That makes it the safest default for a mesh full of mixed clients. The CNSA 2.0 group needs a separate compatibility path, covered in What are we working toward next?.
In December 2026, NSA ordered its PQC actions to put "quick wins with the broadest reach first" (NSA, 2026). Consul 2.1 followed that order. Hybrid key exchange protects recorded traffic now, uses existing standards, and covers every mesh connection through configuration. Post-quantum certificates wait on ML-DSA support in Go, Envoy, and CA providers.
Why hybrid instead of pure ML-KEM?
RFC 10024, published by the IETF in 2026, defines a hybrid as key exchanges combined "to provide security as long as at least one of the component algorithms remains secure" (IETF, RFC 10024, 2026). That property is the reason Consul 2.1 ships a hybrid group rather than ML-KEM on its own.
ML-KEM is new in production terms. Classical X25519 has years of deployment behind it. A hybrid lets you add quantum resistance without betting everything on a young algorithm. If ML-KEM turns out to have a flaw, X25519 still protects the session against classical attackers. If a quantum computer breaks X25519, ML-KEM still holds.
There's a practical reason too. A hybrid group works with peers that only understand classical X25519. They simply fall back. A pure ML-KEM group would leave those peers with no common group at all.
Isn't the advisory's interim fallback "the strongest approved classical options"? Yes, for systems that can't enable PQC. Consul supports that path too. You can restrict groups to P-384 or P-521 if your policy calls for CNSA 1.0 key exchange. Test it first, because every peer has to support your chosen group.
What are we working toward next?
In December 2026, NSA's advisory named ML-KEM-1024 as the CNSA 2.0 key-establishment parameter "for all classification levels" (NSA, 2026). It also treats PQC certificate authorities as their own actions. Those are the next directions for post-quantum Consul. Each one moves forward as its dependencies mature.
Direction | Why it matters | What it depends on |
|---|---|---|
Post-quantum certificate signatures (ML-DSA) in the Connect CA | Addresses advisory actions 3 and 4: PQC roots of trust and reissued certificates. CNSA 2.0 specifies ML-DSA-87. | ML-DSA in Go 1.27, ML-DSA certificate validation in Envoy, and support in external CA providers such as Vault. |
CNSA 2.0 key exchange with SecP384r1MLKEM1024 | Pairs P-384 with ML-KEM-1024, the parameter set CNSA 2.0 specifies. | Go supports it since Go 1.26. It also needs support in the Envoy builds Consul uses, plus FIPS build testing. |
Key-exchange policy on external gateway listeners | Brings ingress and API gateway TLS listeners under the same policy as the mesh. | Extending Consul's gateway TLS configuration. |
These are directions, not dated commitments. Watch the Consul release notes for changes as they ship.
Consul's design should make the certificate step easier. Leaf certificates are short-lived and rotate automatically, with a 72-hour default TTL. When post-quantum signatures are ready end to end, moving to them should look like a CA configuration change and rotation. It shouldn't need a manual reissue campaign.
»What should national security systems do today?
Use Consul 2.1 as a step forward, and record the rest in your mitigation plan:
Key exchange size.
X25519MLKEM768uses ML-KEM-768, not CNSA 2.0's ML-KEM-1024.The classical half. The advisory flags "elliptic curves other than P-384 or P-521 for ECDH." X25519 is in neither CNSA table. The
P-384option described earlier is the CNSA 1.0 interim.Certificates. You can size the Connect CA root at EC P-384, which the advisory recommends for roots. Service leaf keys stay EC P-256.
FIPS. RFC 10024 says each hybrid group "may be implemented in a FIPS-approved way." Consul Enterprise ships FIPS 140-3 builds, but a supported group name doesn't prove compliance. Check your exact modules with your compliance team.
Until the next steps land, turn on hybrid key exchange. Every session you protect today is one an attacker can't decrypt later.
Consul's next post-quantum directions are ML-DSA certificate signatures in the Connect CA, CNSA 2.0 key exchange with SecP384r1MLKEM1024, and gateway listener coverage. Each one depends on outside pieces: ML-DSA in Go 1.27, Envoy support, and CA providers (Go 1.27 release notes; NSA, 2026).
»Ready to turn it on?
Part 2 of this series is a step-by-step runbook. It covers prerequisites, staged rollout for mesh and agent TLS, verifying the negotiated group, and rolling back safely.
Read Part 2: How do you turn on post-quantum TLS in Consul 2.1? →
»Frequently Asked Questions
»Does Consul 2.1 make my service mesh quantum-safe?
Not entirely, and that's by design. Consul 2.1 adds X25519MLKEM768, an RFC 10024 hybrid group (IETF, 2026), which protects TLS session keys against harvest-now, decrypt-later attacks. We started there because recorded traffic is the urgent risk. Post-quantum certificate signatures come next, once Go, Envoy, and CA providers support ML-DSA.
»Is X25519MLKEM768 compliant with CNSA 2.0?
No. NSA's December 2026 advisory lists ML-KEM-1024 as the CNSA 2.0 parameter for all classification levels. X25519MLKEM768 uses ML-KEM-768 and X25519. We chose it for the widest compatibility today. CNSA 2.0 key exchange with SecP384r1MLKEM1024 is one of the directions we're working toward. Until then, record it as an interim step.
»Will enabling hybrid key exchange break older clients?
Not if you keep a classical fallback. The recommended list, X25519MLKEM768 plus X25519, lets older peers negotiate X25519, but those connections get no hybrid protection. Two cases still fail: peers that can't use TLS 1.3 after you raise the minimum, and Envoy builds that don't recognize the hybrid group name.
»Does Consul 2.1 change certificates or the Connect CA?
No. The feature changes key exchange only. The Connect CA keeps issuing ECDSA or RSA certificates, and leaf certificates keep their 72-hour default TTL and automatic rotation. Keep your existing certificates, mTLS verification, ACLs, and service intentions unchanged when you enable post-quantum TLS.
»Do I need Consul Enterprise for post-quantum TLS?
No. The 2.1.0 changelog adds ecdh_curves to mesh configuration entries and tls_ecdh_curves to agent TLS. Neither is listed as Enterprise-only. Consul Enterprise adds FIPS 140-3 builds. With FIPS, check your module and builds separately, because a supported group name isn't proof of compliance.
»Conclusion
The NSA advisory puts TLS near the top of the list for a reason. It's everywhere, and a configuration change can reduce risk right away. In Consul, that means every mesh call and every agent connection.
Why: Recorded traffic can be decrypted later, so key exchange needs protection now.
What shipped: RFC 10024
X25519MLKEM768on mesh and agent TLS, with a TLS 1.3 default and explicit rollback.How it maps: Strong fit for advisory actions 2 and 5. Partial for 1 and 6. Not yet for 3 and 4.
Why this order: Key exchange protects recorded traffic, is ready today, and has the broadest reach.
What's next: ML-DSA certificate signatures, CNSA 2.0 key exchange, and gateway listeners, as their dependencies mature.
Next, follow Part 2 to enable and verify post-quantum TLS in your own cluster.
»Sources
National Security Agency, Immediate Actions to Push Toward Post-Quantum (Cybersecurity Advisory PP-26-4956, December 2026, v1.0), retrieved 2026-12-03, https://media.defense.gov/2026/Dec/01/2004039413/-1/-1/0/CSA_Immediate_Actions_Push_Toward_PQC.PDF
IETF, RFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3 (August 2026), retrieved 2026-12-03, https://datatracker.ietf.org/doc/rfc10024/
NIST, FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standard (August 13, 2024), retrieved 2026-12-03, https://csrc.nist.gov/pubs/fips/203/final
The Go Authors, Go 1.24 Release Notes, retrieved 2026-12-03, https://go.dev/doc/go1.24
The Go Authors, Go 1.26 Release Notes, retrieved 2026-12-03, https://go.dev/doc/go1.26
The Go Authors, Go 1.27 Release Notes, retrieved 2026-12-03, https://go.dev/doc/go1.27
HashiCorp, Configure post-quantum TLS, Consul documentation, retrieved 2026-12-03, https://developer.hashicorp.com/consul/docs/secure/encryption/post-quantum
HashiCorp, Mesh configuration entry reference, Consul documentation, retrieved 2026-12-03, https://developer.hashicorp.com/consul/docs/reference/config-entry/mesh
HashiCorp, Agent TLS configuration reference, Consul documentation, retrieved 2026-12-03, https://developer.hashicorp.com/consul/docs/reference/agent/configuration-file/tls
HashiCorp, Upgrade to Consul 2.1.x, Consul documentation, retrieved 2026-12-03, https://developer.hashicorp.com/consul/docs/upgrade/instructions/upgrade-to-2-1-x
HashiCorp, Deploy FIPS 140-3 compliant Consul servers, Consul documentation, retrieved 2026-12-03, https://developer.hashicorp.com/consul/docs/deploy/server/fips
HashiCorp, Consul source at tag
v2.1.0:types/tls.go,agent/xds/listeners.go,agent/config/builder.go,.changelog/23884.txt, https://github.com/hashicorp/consul/tree/v2.1.0






