Where Envoy uses cryptography: listeners, mTLS and upstreams

Envoy uses cryptography in its TLS listeners, upstream connections, mTLS, certificate and key sourcing through SDS, and admin access. This entry lists each place to record for your inventory and which ones depend on public-key algorithms.

On this page

Where does Envoy use cryptography, and why record it now?

If you are building an inventory of Envoy's cryptographic touchpoints, start with five areas: TLS listeners that terminate client connections, upstream TLS that originates connections to backends, mutual TLS (mTLS) where clients also present certificates, certificates and private keys fetched through the Secret Discovery Service (SDS), and the admin interface and update path. The inventory is the first step before any migration, because you cannot plan a change to a setting you have not recorded. Each entry should name the listener or cluster, the DownstreamTlsContext or UpstreamTlsContext it uses, the TLS versions and cipher_suites or ecdh_curves in effect, the certificate and key types, and where the key material comes from.

Record these entries now for three reasons. Envoy's own documentation shows the default key exchange changing: the 1.40.0 release notes say X25519MLKEM768, a hybrid post-quantum key exchange, was added to the default ECDH curves for upstream and downstream connections, including FIPS builds. That means a deployment that has not set ecdh_curves explicitly may already be negotiating a different key exchange than the one it was tested with, so you need a baseline. Second, the same documentation says the default can be disabled through the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves or by setting ecdh_curves explicitly, so you need to know which of those your fleet uses. Third, the TLS overview and API reference pages checked as of 2026-12-03 describe post-quantum key exchange only and document no post-quantum signature or certificate support, so your certificate and signature entries are where the remaining work sits.

Platform engineering should own the inventory, since it holds the Envoy configuration and the deployment pipelines, with security sign-off on each entry that touches certificates, keys or admin access. Envoy is open source and self-hosted, so your team controls nearly every setting, including build flavor (BoringSSL, OpenSSL or the Linux-x86_64 FIPS build), minimum protocol version and the admin listener's binding. Confirm each of these against your own configuration and your Envoy version, because the defaults described here come from the documentation for specific releases.

Which Envoy areas use cryptography and which depend on public keys

This table maps each Envoy area that uses cryptography, what it protects, the algorithm families involved, whether it depends on public-key algorithms and where it is configured. Use it as an inventory checklist: rows marked undocumented or operator-controlled need confirmation in your own deployment rather than assumption.

AreaWhat it protectsAlgorithms and public-key dependenceWhere it is configured
Downstream TLS listenersClient connections into Envoy, including HTTPS and TLS-terminated trafficTLS 1.2 and 1.3. ECDHE key exchange, RSA or ECDSA server certificates. Depends on public-key algorithms. Hybrid X25519MLKEM768 added to default curves in 1.40.0DownstreamTlsContext, TlsParameters, ecdh_curves, cipher_suites
Upstream TLS originationConnections from Envoy to backend clustersTLS 1.2 and 1.3. ECDHE key exchange, server certificate verification with RSA or ECDSA. Depends on public-key algorithmsUpstreamTlsContext, TlsParameters, CertificateValidationContext
Client certificates for mTLSIdentity of clients presenting certificates to Envoy or to upstreamsClient certificates signed with RSA or ECDSA keys. Depends on public-key algorithms. Enforcement is set per contextDownstreamTlsContext require_client_certificate, UpstreamTlsContext client certificate fields, CertificateValidationContext trusted_ca
Session resumption and ticketsReuse of prior TLS sessions to shorten handshakesTLS session tickets. Ticket keys are symmetric, but resumption sits alongside public-key handshakes. Confirm ticket key rotation in your setupUpstreamTlsContext max_session_keys (default 1), downstream session ticket settings
Certificate and key delivery through SDSCertificates and private keys fetched by Envoy at runtimeDelivered material contains RSA or ECDSA keys. The SDS channel is protected by Unix domain socket or mTLS or AWS SigV4, which also depend on public keys when using mTLSSecret Discovery Service configuration, SDS cluster settings
Admin interfaceManagement and inspection endpoints of the Envoy processThe vendor documents no TLS or authentication on the admin listener. Operator-controlled through network restriction, localhost binding or allow_paths. Undocumented as a cryptographic surfaceAdmin configuration, network policy, allow_paths
Build-time TLS librariesThe cryptographic code that performs every handshakeBoringSSL is the default. OpenSSL and BoringSSL FIPS builds are selectable. FIPS build is documented for Linux-x86_64 only. Algorithms follow the chosen libraryBazel build options: default BoringSSL, --config=openssl, --config=boringssl-fips
Compliance policy profilesRestricting TLS versions, ciphers and key agreement to a named profileFIPS_202205, CNSA1_202603 and CNSA2_202603 are listed in the unreleased 1.41.0-dev reference. Each profile constrains public-key and key agreement choices. Confirm availability in your releaseTlsParameters compliance_policies
Per-certificate curve overridesKey agreement choices for individual certificatesAdds per-certificate ECDH curve selection in 1.40.0. Affects public-key handshake behavior per server namePer-certificate tls_params overrides

Which protocols Envoy terminates and originates, and which settings choose their algorithms

Envoy handles TLS in four places: listeners that terminate client connections, clusters that originate connections to upstreams, the SDS gRPC channel that delivers certificates and keys, and the admin listener. Each one has its own protocol surface, and the algorithm choices come from a shared set of TLS parameters that you should inventory per listener and per cluster.

Listener TLS termination

Downstream listeners terminate TLS from clients, using a DownstreamTlsContext that holds the server certificates, the handshake parameters and any client certificate checks. This is the path that carries your public traffic and any mTLS from callers. Check each listener's configuration to record which certificate types it presents, since a context can hold a mix of RSA and ECDSA certificates selected by server name. Envoy prefers ECDSA when the client supports P-256, P-384 or P-521.

Envoy TLS overview

Cluster TLS origination

Upstream clusters originate TLS to backend services through an UpstreamTlsContext. Here Envoy verifies the server certificate and can present its own client certificate, which makes this the path where outbound mTLS is configured. Upstream contexts support only a single TLS certificate in the overview, while the 1.40.0 release notes allow multiple certificates in a client context under specific conditions, so confirm the version you run. The max_session_keys setting defaults to 1.

Version and cipher settings

The tls_minimum_protocol_version defaults to TLSv1_2 and tls_maximum_protocol_version defaults to TLSv1_3 for both clients and servers. The cipher_suites setting applies only to TLS 1.2 and below and has no effect on TLS 1.3 negotiation, so a TLS 1.3 connection is governed by other choices. When cipher_suites is unset, the documented non-FIPS default list is used. Record the effective minimum and maximum for each context, not only the defaults.

TLS common.proto reference

Curve and signature settings

The ecdh_curves setting selects key exchange groups, and signature_algorithms selects the signature schemes offered in the handshake. When signature_algorithms is omitted, BoringSSL's default applies, and the API reference states no minimum RSA key size. In 1.40.0 and later, the default ECDH curves include X25519MLKEM768 unless you disable it with the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves or set ecdh_curves explicitly. Per-certificate tls_params overrides can set curves for individual certificates.

SDS gRPC channel

Envoy fetches certificates and private keys over gRPC through the Secret Discovery Service. The documentation requires that this channel be protected by a Unix domain socket or authenticated TLS, using mTLS or AWS IAM SigV4. The channel carries your private key material, so the TLS or socket settings on the SDS cluster belong in your inventory alongside the listeners they feed. Confirm which authentication method each deployment uses.

Envoy SDS documentation

HTTP admin listener

The admin listener exposes an HTTP interface that Envoy documents as having no TLS and no authentication. Access must be restricted through a secure network, localhost binding or allow_paths. It is not a TLS termination point in the usual sense, so it does not carry the algorithm settings above, but it should still appear in the inventory because it is reachable on the host. Confirm the bind address of each admin listener in your deployment.

Envoy admin documentation

Which certificates and keys Envoy holds, by use

Downstream server certificates are the certificates Envoy presents to clients that connect to a listener. A downstream TLS context can hold RSA and ECDSA certificates together, and Envoy selects between them by server name. ECDSA server certificates must use P-256, P-384 or P-521, and Envoy prefers ECDSA over RSA when the client supports those curves.

  • Key types: RSA and ECDSA certificates can coexist in one downstream context, selected by SNI.
  • Permitted curves: ECDSA server certificates must use P-256, P-384 or P-521.
  • Storage: Certificates are typically loaded from files on disk or delivered through SDS. Confirm which method your configuration uses.
  • Issuance: The facts do not describe how these certificates are issued. Confirm with your operator CA or ACME process.
  • OCSP stapling: The ocsp_staple_policy default is LENIENT_STAPLING. Confirm the value in your configuration.

Rotation is typically performed by whoever manages the listener configuration or the SDS source. Check your change process for who approves and deploys replacements. Confirm the RSA minimum key size in your environment, since the API reference does not state one.

How administrators and tools reach Envoy and what protects each path

The first step is to list every path that reaches an Envoy instance outside its data plane, because these paths are often the least protected. The Envoy admin interface is the most important of them. Envoy's admin documentation states that the admin listener has no TLS and no authentication. The docs say access must be restricted through a secure network, a localhost binding or the allow_paths setting. For each Envoy deployment, record the admin block in the bootstrap configuration, including the address the listener binds to and any allow_paths entries. Confirm whether the listener is reachable from anything beyond the local host, and whether that exposure is intended.

The second path is the Secret Discovery Service (SDS), through which Envoy can fetch certificates and private keys over gRPC. The Envoy SDS documentation says this channel must be secured, either with a Unix domain socket or with authenticated TLS, using mTLS or AWS IAM SigV4. Inventory each SDS source referenced in the configuration, noting whether it is a Unix socket path or a network address, and if it is the latter, which authentication method protects it. A plaintext or unauthenticated SDS channel means that private key material could be read or substituted in transit, so treat any gap here as a priority finding.

The third path is the control plane that feeds Envoy its configuration, such as xDS management servers or any tooling that writes static files. The facts supplied for this section do not describe how configuration is delivered or by what channel, so the operator must confirm this directly. Ask the platform team which control plane, if any, pushes listener, cluster and secret configuration, and whether that channel is authenticated and encrypted. Record the answer alongside the admin and SDS findings, because a compromised control plane can change which certificates and cipher settings Envoy uses without touching the Envoy binary.

How Envoy builds and updates are signed, and what only the project can change

Envoy's cryptography is set at two levels: the project fixes the TLS library, default curves and FIPS build at build time and in each release, while operators set certificate parameters in configuration. The cards below separate what you choose, what the project ships and what the facts do not cover, so you know which settings to inventory and which release artifacts to verify yourself.

Build-time TLS library choice

Envoy uses BoringSSL as its default TLS provider. An OpenSSL build is selected with --config=openssl, and a FIPS-mode BoringSSL build is selected with --config=boringssl-fips. The FIPS build is documented as working only on Linux-x86_64. Your build choice fixes which library handles every handshake in that binary, so record which configuration produced each deployed Envoy. Changing the library means rebuilding, not editing a config file.

Envoy TLS overview

Release channel and patch lines

The Envoy website listed 1.40.2 as the current release on 2026-12-03. The version history shows 1.40.2, 1.39.6, 1.38.9 and 1.37.11 as the latest patch releases, with 1.41.0 pending. Confirm which patch line your deployment tracks and whether it is still receiving patches, since the lines are maintained separately. Record the exact version string in your inventory rather than a major version alone.

Envoy version history

Default ECDH curves changed in release notes

The Envoy 1.40.0 release notes changed the default ECDH curves to add X25519MLKEM768, a hybrid key exchange, for upstream and downstream TLS, including FIPS builds. Because this default is set by the project, a version upgrade can change the key exchange on connections without any configuration edit. Check the 1.40.0 notes against your current version before upgrading, and confirm peers can handle the larger handshake.

Envoy 1.40.0 release notes

Project-fixed defaults versus operator settings

The default curve set and the FIPS build are fixed by the project build, so an operator cannot change them through configuration alone. Per-certificate tls_params and the ecdh_curves field are operator-set and can override the defaults for a given certificate. Document which of these you control in each listener and cluster, because an override applies only where it is written.

Envoy TLS common.proto reference

Release artifact signing not covered

The facts available do not describe how Envoy images or binaries are signed. Do not assume a signature or checksum scheme exists from the project pages alone. Confirm with the Envoy project or your distribution channel how release artifacts are verified before you deploy them, and record the method you use in your change process.

Envoy website

Which Envoy items depend on public-key algorithms

For a post-quantum migration, the Envoy items in scope are the ones that rely on public-key algorithms: the TLS handshake, certificate chain validation and signatures, key exchange, and mTLS client authentication. The handshake and certificate work in Envoy's listeners and upstream clusters use RSA and ECDSA certificates, and key agreement uses ECDHE. Which algorithms actually apply depends on the ecdh_curves, cipher_suites, signature_algorithms and tls_certificates settings in TlsParameters and on the certificates you supply. Downstream ECDSA certificates must use P-256, P-384 or P-521, and Envoy prefers ECDSA over RSA when the client supports it. Each of these settings should be inventoried per listener, cluster and certificate, because a single Envoy deployment can hold several TLS contexts with different values.

Key exchange deserves its own line in the inventory. In Envoy 1.40.0, released October 13, 2026, X25519MLKEM768 was added to the default ECDH curves for upstream and downstream connections, including FIPS builds. Envoy documents that the default can be turned off with the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves set to false, or by setting ecdh_curves explicitly in TlsParameters. Peers without ML-KEM fall back to X25519 or P-256. Confirm which value is in effect in each environment, since the flag and the explicit setting both change what is negotiated, and per-certificate tls_params overrides added in 1.40.0 can set curves for a single certificate.

Some items rely only on symmetric algorithms and hashes. Bulk encryption of application data with AES-GCM and ChaCha20-Poly1305, which appear in the default cipher lists, and the secrets that protect TLS session tickets for session resumption are not public-key dependent in the same way. They still need to be recorded, but they belong to a different risk category than the handshake. Admin interface access is also separate: Envoy's admin documentation describes no TLS or authentication on that listener and says access must be restricted through network controls. The detailed dependency analysis, support status and upgrade needs are covered on the sibling pages. Envoy's own pages document no post-quantum signature or certificate support as of 2026-12-03.

How to gather the Envoy cryptographic data for your inventory

This sequence collects the configuration, build, certificate, port and admin-access facts that show where Envoy terminates TLS, originates it to upstreams and depends on public keys. The output is a record that engineers and security leads can check against the running proxy and send to the vendor where configuration alone does not answer the question.

  1. Export the effective Envoy configuration

    The platform engineer who runs the proxy dumps the effective configuration from the running instance through the admin interface, or from the bootstrap and xDS sources if the admin endpoint is not reachable. Capture listeners, clusters, and the TlsParameters, DownstreamTlsContext, UpstreamTlsContext and CertificateValidationContext blocks for each. Also record the runtime flags in effect, including envoy.reloadable_features.pqc_default_ecdh_curves if it has been set. The step is done when every TLS block in the export is accounted for in the inventory, with the listener or cluster it belongs to.

  2. Record the Envoy version and TLS build

    The platform engineer records the exact Envoy version from the running binary, not from the deployment manifest, since the two can differ. Note the TLS library the binary was built with: BoringSSL by default, OpenSSL if built with the openssl configuration, or the FIPS-mode BoringSSL build, which Envoy documents as Linux-x86_64 only. Confirm whether the FIPS build is in use and say so explicitly in the record, because the Envoy documentation states that a FIPS module is necessary but not sufficient for compliance. The step is done when the version, library and FIPS status are written down with the host or image they came from.

  3. Enumerate certificates and keys from file and SDS sources

    The security engineer lists every certificate and private key that Envoy loads, from file paths in the configuration and from Secret Discovery Service sources. For each certificate, record the issuer, the subject alternative names, the key type and size, and the expiry date. For SDS sources, record the SDS server and confirm from the configuration that its connection uses a Unix domain socket or authenticated TLS, as the Envoy documentation requires. The step is done when each certificate and key is listed with its source, and each SDS server has been identified.

  4. Scan listening ports to confirm TLS endpoints

    The network engineer runs a port scan from a host that can reach the proxy, and compares the open ports against the listeners in the exported configuration. Confirm that each TLS listener responds on the expected port and that the admin listener is reachable only where it should be. Any port that answers but does not appear in the configuration needs an owner and an explanation before the inventory is closed. The step is done when the scan results and the configured listeners match, or each difference is recorded with its cause.

  5. Review the admin interface restriction in place

    The security engineer checks how the admin interface is restricted. Envoy's admin documentation states that the admin listener has no TLS or authentication, so access depends on binding to localhost, on a restricted network, or on the allow_paths setting. Record which of these is in place, which paths are allowed, and whether any admin listener is bound to an address that other hosts can reach. The step is done when the admin access controls are written down and any exposure is logged as a finding.

  6. Send vendor questions for items not in configuration

    The vendor-risk reviewer writes questions to the Envoy project or to the vendor supplying the build, for anything the configuration and binary cannot show. Typical items are how release binaries are signed, how the certificate issuance process is controlled if Envoy is used in a managed product, and any published plans for post-quantum signature or certificate support. Send the questions in writing and record the date and the responder. The step is done when each open item has a question, an owner and a recorded response or a note that none has been received.

Questions engineers and vendor-risk reviewers ask about Envoy's cryptographic inventory

Is Envoy quantum safe?

Envoy does not carry a "quantum safe" label, and its own documentation does not support that claim. What the facts support is narrower: since Envoy 1.40.0, released October 13, 2026, X25519MLKEM768, a hybrid key exchange that combines X25519 with ML-KEM-768, is in the default ECDH curves for upstream and downstream TLS connections, including FIPS builds. Peers that do not support ML-KEM fall back to X25519 or P-256. The default can be disabled with the runtime flag envoy.reloadable_features.pqc_default_ecdh_curves set to false, or by setting ecdh_curves explicitly in TlsParameters. Envoy's TLS pages describe post-quantum key exchange only. They document no post-quantum signature or certificate support, such as ML-DSA or SLH-DSA, as of 2026-12-03. Certificates and signatures in your deployment therefore remain on RSA or ECDSA unless you confirm otherwise with the Envoy project.

Which Envoy version should the cryptographic inventory record?

Record the exact build you run, not the latest release on the website. Envoy's version history lists 1.40.2 (October 27, 2026), 1.39.6, 1.38.9 and 1.37.11 as the latest patch releases, with 1.41.0 pending. The key-exchange default described above arrived in 1.40.0, so any 1.39.x or older build will not show X25519MLKEM768 in its defaults. Also record the TLS provider your build uses: BoringSSL is the default, OpenSSL is selected with --config=openssl, and the FIPS build with --config=boringssl-fips works only on Linux-x86_64. Confirm the version from the running binary or your container image tag, and note the runtime flag state, because a config can override the default in either direction.

Does the cryptographic inventory cost extra?

Envoy is open source, so the software itself adds no licence fee for the inventory. The cost is labour and access. Time depends mainly on the number of listeners, upstream clusters, certificates and secret sources (including SDS endpoints) that must be recorded, and on how many of them are defined through generated or templated config rather than hand-written files. Expect one-time effort to walk listeners, mTLS settings, cipher and curve settings, and certificate chains, and recurring effort each time the configuration or the Envoy version changes. If you use a vendor or partner, ask for the written scope, the number of systems covered and the deliverables before agreeing a quote. Compare any quote against that list, not against a headline figure.

What breaks if the Envoy inventory data is wrong?

A wrong inventory usually fails in one of two ways. The first is a false sense of coverage: a listener that looks hybrid-ready may in fact pin ecdh_curves or cipher_suites in a way that disables the new default, or a per-certificate tls_params override may set curves differently from the listener. The second is an upgrade that breaks clients: if you assume every peer supports ML-KEM, you may not notice clients that fall back or that reject larger handshakes. Envoy documents that the hybrid key exchange adds about 1 KB to the ClientHello and ServerHello, which matters for middleboxes and some clients. Wrong data also hides mTLS gaps, such as require_client_certificate left unset or peer verification off because trusted_ca is missing. Verify each record against the live configuration and the running version.

What should we ask the Envoy project or vendor about post-quantum plans?

Ask direct, dated questions and record the answers. Confirm whether any post-quantum signature or certificate support is planned, which algorithms, and in which release. Ask whether the CNSA 2.0 compliance policy CNSA2_202603 and CNSA1_202603 are in a released version or only in the unreleased 1.41.0-dev reference, since the latest API reference lists them there. Ask for the policy's exact requirements in the release notes, including that CNSA2_202603 allows only TLS 1.3 with AES-256-GCM and ML-KEM-1024. Ask how the FIPS build is validated, and whether Envoy's statement that a FIPS module is necessary but not sufficient is covered by a documented procedure. If you buy Envoy through a commercial vendor, ask them for their own support statement in writing, because the open-source project's pages do not make commitments on their behalf.

Can our team gather the Envoy inventory alone, or do we need outside help?

Many teams can do a first inventory in house if they have someone who knows the Envoy configuration and access to the running fleet. Start with the listeners, the downstream and upstream TLS contexts, mTLS settings, the certificates and keys they load, SDS sources, and the admin interface, which Envoy documents as having no TLS or authentication and must be restricted. Use the TLS overview and the common.proto reference to check each setting, and record the version and provider per deployment. Outside help makes sense when configurations are generated across many clusters, when there are no repeatable checks, or when the team lacks time for testing. DeployOpen can plan, implement and document such an inventory in your own infrastructure under a written, fixed scope, but the scope and deliverables are agreed before any work starts.

Envoy terminates client TLS, originates upstream TLS and reads certificates from SDS

The diagram starts with a client opening a TLS connection to an Envoy listener, where DownstreamTlsContext sets the server certificate and, when require_client_certificate is set, the client certificate for mTLS. Envoy then originates a separate TLS connection to the upstream cluster, where UpstreamTlsContext controls the trusted CA and any client certificate it presents. Certificates and keys reach Envoy through SDS over an authenticated channel, and the admin interface should be bound to localhost or a secure network. Check each of these objects in your own configuration.

Envoy's listener, upstream, SDS and admin paths, with the configuration object for each.

How DeployOpen works on this

DeployOpen approaches the Envoy cryptography inventory as a scoped engineering task: we map each listener, mTLS path and upstream cluster to the TLS settings, certificates and key sources that govern it, then verify those facts against the running configuration. The result is a written inventory your engineers and security leads can check against their own environment.

How we scope

  • Confirm which Envoy versions and builds (BoringSSL, OpenSSL or FIPS) are in use across each environment before inventory work begins.
  • Agree in writing which listeners, downstream and upstream TLS contexts, and admin or SDS paths are in the inventory.
  • Record the scope, deliverables and timeline in a fixed-scope written agreement; ongoing support is available as a retainer.

How we build

  • Extract the TlsParameters, cipher_suites, ecdh_curves and signature_algorithms settings from each listener and cluster configuration.
  • Trace each certificate and key to its source, including SDS delivery, and identify which RSA and ECDSA certificates are in use.
  • Test mTLS behavior, including require_client_certificate and CertificateValidationContext settings, against sample client connections in your environment.

How we hand over

  • Deliver an inventory document listing each listener, cluster, certificate, key type and key-exchange setting with its Envoy version.
  • Flag where the admin interface, SDS connection or runtime flags such as pqc_default_ecdh_curves need your attention.
  • Document the test steps used to confirm each finding, so your security team can reproduce the inventory independently.

How we support

  • Re-run the inventory after Envoy upgrades or configuration changes, since default TLS settings have changed across recent releases.
  • Confirm which items your compliance or audit team needs as evidence, and prepare that material; DeployOpen does not issue audit reports or certifications.
  • Continue testing and updates under a retainer, keeping the inventory current as your Envoy deployment evolves.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.