Which Apache APISIX functions depend on RSA and elliptic-curve keys today
If your API gateway terminates TLS for clients and upstreams, the question is which of its functions rely on RSA, DHE and ECDSA keys today. In Apache APISIX 3.21.0, the documented public-key dependencies are the TLS handshake, the server certificates selected by SNI, optional client certificates for mTLS toward clients and upstreams, and the etcd and Admin API connections. The only documented post-quantum element is the X25519MLKEM768 hybrid key share, which the 3.20.0 runtime adds to the default TLS 1.3 key shares through the OpenSSL 3.5.9 bump in APISIX-Runtime 1.4.2. No setting selects key exchange groups, and no post-quantum signature support is documented. These facts were checked on 2026-12-03, and the Apache project offers one open-source edition.
The default HTTPS listener in the example config uses port 9443 with HTTP/2 enabled and HTTP/3 disabled. The apisix.ssl.ssl_ciphers list includes ECDHE-ECDSA and ECDHE-RSA suites, along with DHE-RSA suites, so these are the key exchange and signature paths you need to inventory. Server certificates are RSA or ECC, and the certificate documentation gives no minimum key size or required signature algorithm. Each SSL object can carry its own ssl_protocols and certificate pairs, and an SNI-level override can be changed through the Admin API without a reload. Confirm per SNI which certificate types and cipher lists are actually served, since the instance-wide default applies only where an SSL resource does not set its own values.
Upstream and control-plane links follow the same pattern. Client-type SSL objects or tls.client_cert and tls.client_key on upstreams carry RSA or ECC identities, and tls.verify with tls.ca_certs checks them. etcd TLS verification is on by default in the example config, while the Admin API listens on port 9180 over plain HTTP unless https_admin is enabled and admin mTLS is configured with admin_api_mtls. The example config also enables apisix.data_encryption with AES-CBC keys, which is symmetric and not a public-key dependency. Ask your APISIX team to list each SSL object, upstream and admin setting in your deployment, and record which key type each one uses, since the documentation alone does not show what your instance has enabled.
Apache APISIX key dependencies by version and component
This table lists each APISIX function that relies on RSA, ECDSA, Diffie-Hellman or elliptic-curve keys, with the setting that controls it, the version or default that applies, and the source page to check. Rows marked not documented are places where the APISIX docs checked give no answer, so confirm those with the project or in your own deployment before recording a result.
| Function | Key type and setting | Version and default | Source page |
|---|---|---|---|
| Client TLS listener | ECDHE and DHE key exchange in the cipher list, on port 9443 by default | Example config: enable_http2 true, enable_http3 false | APISIX config example |
| Cipher list | ECDHE-ECDSA, ECDHE-RSA, DHE-RSA suites set in apisix.ssl.ssl_ciphers | Example config lists eight suites; TLSv1.2 and TLSv1.3 are the default protocols | APISIX SSL Protocol doc |
| Server certificate | RSA or ECC certificate and key, selected by SNI on the SSL object | SSL object type server and status 1 by default; no minimum key size documented | APISIX Certificate doc |
| Client mTLS | Client CA and depth set on the SSL object, applying to HTTPS only | Set per SSL object; no default documented | APISIX mTLS doc |
| Upstream verification | tls.client_cert and tls.client_key, or tls.client_cert_id, plus tls.verify and tls.ca_certs | Set on the upstream object; client-type SSL objects used for upstream certificates | APISIX mTLS doc; APISIX Admin API doc |
| etcd connection | Certificate and key under deployment.etcd.tls, with verify enabled | verify true by default; cert, key and sni commented out; host defaults to | APISIX config example |
| Admin API | Admin mTLS using admin_ssl_ca_cert, admin_ssl_cert and admin_ssl_cert_key | Listens on 0.0.0.0:9180 by default; https_admin commented out, so not HTTPS by default | APISIX config example; APISIX mTLS doc |
| Data encryption | AES-128-CBC or AES-256-CBC keyring under apisix.data_encryption; not a public-key function | 16-byte key selects AES-128-CBC, 32-byte key selects AES-256-CBC; other lengths rejected at startup | APISIX config example |
| Session tickets | ssl-session-ticket plugin key rotation; ticket keys are symmetric | Plugin disabled by default; keys rotate every 3600 seconds, maximum 19 keys | APISIX config example |
| Secret backends | TLS for Vault and AWS not documented; GCP ssl_verify set to true | GCP ssl_verify default true; no TLS settings documented for Vault or AWS | APISIX Secret doc |
Which APISIX components use public-key algorithms
Apache APISIX uses RSA and elliptic-curve keys in several separate places: the HTTPS listener, the certificates it serves by SNI, client mTLS, upstream connections, the etcd link, and the Admin API. Each one needs its own check, because the documented defaults differ and some settings that matter for a post-quantum inventory are not stated in the docs.
HTTPS listener and cipher suites
The HTTPS listener on port 9443 negotiates TLS key exchange using the suites set in apisix.ssl.ssl_ciphers. The example config lists ECDHE-ECDSA, ECDHE-RSA, DHE-RSA-AES128-GCM-SHA256 and DHE-RSA-AES256-GCM-SHA384, so the key exchange in use is either elliptic-curve Diffie-Hellman or finite-field Diffie-Hellman, and the signing key is RSA or ECDSA. Check which suites your instance actually allows. The docs do not list a setting to choose TLS key exchange groups, so you cannot confirm from configuration alone which groups are offered for the key exchange.
SSL objects and SNI certificates
Server certificates are stored as SSL objects and selected by SNI. One object can hold an RSA pair and an ECC pair in the parallel certs and keys arrays, which must be the same length. The docs name only RSA and ECC as key types. They state no minimum key size and no required signature algorithm, so confirm both for every certificate you load. Per-SNI ssl_protocols overrides the instance default, so review each object, not just the global setting.
Client mTLS with client.ca
Client certificate checks are set on the SSL object with client.ca and client.depth. The mTLS doc states this protection applies only to HTTPS, so any client traffic on plain HTTP has no client certificate check. The CA that signs client certificates is typically RSA or ECC, and the docs do not say which signature algorithms or key sizes are accepted for client certificates. Confirm the CA and client certificate types in your own deployment.
Upstream TLS client and verification
Connections to upstreams use tls.client_cert and tls.client_key, or tls.client_cert_id that points to a client-type SSL object. Verification of the upstream server uses tls.verify and tls.ca_certs. Both client certificates and upstream server certificates are RSA or ECC in the documented setup. Confirm whether tls.verify is enabled on each upstream, since the docs describe the setting but this card does not establish its default for every route.
etcd connection and verification
The example config enables deployment.etcd.tls.verify: true, so APISIX verifies the etcd server certificate by default. The tls.cert, tls.key and tls.sni settings are commented out, and the example etcd host is ` which is plain HTTP. Check whether your etcd endpoint uses HTTPS and whether client certificates are configured, because the example does not show either. The etcd certificates are RSA or ECC unless your own PKI issues something else.
Admin API and admin mTLS
The Admin API listens on 0.0.0.0:9180 in the example config. The https_admin setting is commented out, so the Admin API is not HTTPS by default. Admin mTLS is configured through admin_api_mtls with admin_ssl_ca_cert, admin_ssl_cert and admin_ssl_cert_key. If you rely on the Admin API for certificate changes, confirm that HTTPS and admin mTLS are both enabled on your instance, and identify which RSA or ECC certificates protect it.
How the answer differs by version and deployment
The facts cover releases from 3.20.0 onward. The 3.20.0 changelog entry moves APISIX-Runtime 1.4.2 to OpenSSL 3.5.9 and adds the hybrid group X25519MLKEM768 to the default TLS 1.3 key shares. The 3.21.0 entry moves the runtime to 1.4.3 for NGINX security fixes, and the latest listed runtime is 1.5.1. The facts do not cover releases before 3.20.0, so the key exchange and certificate behavior of those versions must be confirmed against their own documentation.
- 3.20.0 and later: the runtime bump to OpenSSL 3.5.9 is recorded as a default, not as a breaking change.
- 3.21.0: the runtime moves to 1.4.3 for NGINX security fixes, with no post-quantum change recorded in the entry.
- Earlier releases: the facts give no key share or runtime details, so do not assume X25519MLKEM768 is present.
- Certificates and signatures: the changelog and certificate docs checked show no ML-DSA or SLH-DSA support in any version.
Confirm the exact release running in each environment and record it with the answer, since the dependency list changes at 3.20.0.
The 3.20.0 runtime change applies to the APISIX-Runtime that ships with the release. An organization that builds its own apisix-runtime from apisix-build-tools chooses the OpenSSL version and build options itself, so the default key share and cipher behavior may differ from the shipped runtime. The facts supply a runtime release list but do not state which OpenSSL version each self-built runtime uses.
- Default runtime: OpenSSL 3.5.9 and the X25519MLKEM768 key share are recorded for 3.20.0 and later.
- Self-built runtime: the OpenSSL version comes from the local build, and the default key shares must be read from the built binary.
- Runtime releases: the apisix-build-tools releases page lists 1.5.1 as the latest runtime, dated 2 Dec.
- FIPS builds: a FIPS build compiles apisix-runtime against OpenSSL 3.0, which is a different OpenSSL line from the default.
Record whether each node runs the shipped runtime or a self-built one, and verify the OpenSSL version and key shares from the binary in use.
The APISIX FIPS doc says FIPS support comes from compiling apisix-runtime with OpenSSL 3.0. The doc makes no wider certification claim, names no validated module version or certificate number, and does not mention CNSA 2.0. A FIPS build therefore cannot be treated as validated or as meeting CNSA 2.0 on the basis of this doc alone.
- Build basis: apisix-runtime compiled with OpenSSL 3.0 is the stated basis for FIPS support.
- No validation claim: the doc names no validated module version, so do not record a validation status from it.
- No CNSA 2.0 statement: the doc does not address CNSA 2.0, ML-KEM-1024 or ML-DSA-87.
- Key exchange: the facts do not state whether X25519MLKEM768 is available in a FIPS build, which is built on a different OpenSSL line.
Ask the vendor for the validation status of the exact FIPS build you deploy, and for its key share support, before you rely on either.
Client mTLS applies only to HTTPS. The mTLS doc says this protection is set on the SSL object with client.ca and client.depth and applies only to HTTPS. A client or upstream connection that does not use HTTPS therefore falls outside mTLS, and its authentication must be assessed separately. The example config keeps the Admin API on plain HTTP at 0.0.0.0:9180, with https_admin commented out, unless the operator enables it.
- Client traffic over HTTPS: client.ca and client.depth on the SSL object apply.
- Client traffic not over HTTPS: mTLS does not apply, so no certificate check is made on that path.
- Upstream connections: tls.client_cert, tls.client_key or tls.client_cert_id, and tls.verify, apply when the upstream uses TLS.
- Admin API: the default listener is not HTTPS, so admin mTLS only applies once https_admin and admin_api_mtls are configured.
List every listener and upstream in your configuration and mark which ones use HTTPS, so each path gets the correct answer.
What to check in your APISIX deployment next
This sequence gives you a verified inventory of every place your Apache APISIX instance depends on RSA and elliptic-curve keys, from the running version to the secrets behind each certificate. Each step ends with a check you can repeat, so the result is a record you can hand to a security review rather than an assumption.
Confirm the running APISIX and runtime versions
The engineer who operates the gateway runs the APISIX version command on each node and reads the apisix-runtime version from the process or the packaging metadata, then compares both against the 3.21.0 release and the apisix-runtime 1.5.1 record. Record any node that differs, since a mixed fleet means the TLS behavior you document may not match what every node serves. The step is done when every node's version is written down next to its expected release and any gap has an owner.
List every SSL object and its protocol settings
The platform team queries the Admin API for all SSL objects (for example, GET /apisix/admin/ssls with the admin key) and writes down each object's id, snis, type, status, ssl_protocols and ssl_ciphers. Note which objects leave ssl_protocols empty, because those fall back to the instance-wide apisix.ssl.ssl_protocols value, and which set their own cipher list. The step is done when the exported list accounts for every certificate that answers on the HTTPS listener and the instance-wide defaults are recorded beside it.
Map client mTLS and upstream TLS blocks
The security engineer reviews each SSL object with a client.ca or client.depth field for client-to-gateway mTLS, and each upstream object with tls.client_cert, tls.client_key or tls.client_cert_id, plus tls.verify and tls.ca_certs. Record which routes rely on these settings and which upstream certificates are RSA or ECC, reading the certificate itself with an inspection command rather than trusting the file name. The step is done when every mTLS and upstream TLS configuration appears in one table with its certificate's key type and its owner.
Confirm etcd and Admin API transport settings
The operator opens the live config.yaml on each node and checks deployment.etcd.tls.verify, the etcd host address, and whether tls.cert, tls.key and tls.sni are set, then checks whether the Admin API is served over HTTPS or uses admin_api_mtls with admin_ssl_ca_cert, admin_ssl_cert and admin_ssl_cert_key. The example file defaults etcd to plain HTTP at 127.0.0.1:2379 and leaves the Admin API on port 9180 without HTTPS, so confirm what your deployment actually sets rather than what the example shows. The step is done when each transport setting is recorded as found in the running file, with a note on any that remain at the example default.
Record where secrets and keys come from
The platform engineer lists how each private key and certificate reaches the gateway: inline in the Admin API, from environment variables, from HashiCorp Vault KV v1, from AWS Secrets Manager or from GCP Secrets Manager. Read the secret references in the configuration and, for GCP, confirm the ssl_verify setting, since the documentation names no TLS options for Vault or AWS, so confirm those transport settings with your secrets team. The step is done when every key reference has a named source, and any source whose transport security is unconfirmed is flagged for follow-up.
What the APISIX docs do not say about post-quantum support
The APISIX docs, config example and changelog cover TLS, certificates and mTLS in detail but say nothing on several post-quantum points that security teams usually need. Each card below names one gap and the question to put to the Apache APISIX project or your support channel before you record an answer.
No key exchange group setting
The config example and SSL Protocol doc set cipher suites and protocol versions, but they document no setting to choose which TLS key exchange groups APISIX offers or accepts. The default TLS 1.3 key shares changed in 3.20.0 through the runtime bump, so the group list is effectively set by the bundled OpenSSL and runtime build. Ask the project which groups are offered by default in your version, whether an operator can restrict them, and where that control lives. Confirm the answer against your own handshake capture, because the docs do not describe it.
SSL Protocol docNo ML-KEM-only mode
The APISIX docs describe no pure ML-KEM mode for TLS listeners, upstream connections or the Admin API. Any post-quantum key exchange described in the changelog arrives as a hybrid default, not as a choice the operator makes. Ask the project whether a pure ML-KEM configuration is planned, which component would expose it, and whether a hybrid-only deployment can be verified from the running instance.
SSL Protocol docNo mention of X25519MLKEM768
The 3.20.0 changelog entry says the APISIX-Runtime bump adds X25519MLKEM768 to the default TLS 1.3 key shares. The config example, SSL Protocol doc and Certificate doc never name that group. Ask the project to document the group in the reference docs, state which APISIX versions include it, and confirm that the group is offered on your listeners only when the runtime build includes the updated OpenSSL.
APISIX changelogNo ML-DSA or SLH-DSA certificates
The Certificate doc names only RSA and ECC as key types, and neither the Admin API doc nor the changelog mentions ML-DSA, SLH-DSA or any post-quantum certificate or signature support. This matters for the SSL objects that serve your server certificates and for client certificates used in mTLS to upstreams. Ask the project whether post-quantum signature types are on the roadmap, which certificate types the SSL object will accept, and how a post-quantum certificate would be loaded through the cert and key fields.
Certificate docNo published roadmap statement
The docs and changelog checked publish no roadmap statement on post-quantum cryptography. Without one, the dates for key exchange options, signature support and related runtime changes are unknown from the public record. Ask the project for a written statement that covers key exchange groups, post-quantum signatures and the OpenSSL versions planned for future APISIX-Runtime releases, and ask whether that statement will be published, and where.
APISIX releasesNo CNSA 2.0 or validated FIPS module reference
The FIPS doc says FIPS support comes from compiling apisix-runtime with OpenSSL 3.0 and makes no wider certification claim. It names no validated module version or certificate number and does not mention CNSA 2.0, ML-KEM-1024 or ML-DSA-87. If a federal or national security customer asks for CNSA 2.0 alignment, ask the project for the validated module, its certificate number, the OpenSSL version it was tested with, and whether any CNSA 2.0 algorithm is supported in your build.
FIPS docWhat can go wrong with classical keys left in place
The main risk is that the defaults keep classical key exchange in play even after a stronger option exists. The example config enables a post-quantum hybrid group, X25519MLKEM768, in the default TLS 1.3 key shares from APISIX 3.20.0, which ships APISIX-Runtime 1.4.2 with OpenSSL 3.5.9. But the cipher list in apisix.ssl.ssl_ciphers still includes ECDHE and DHE suites. A client that cannot negotiate the hybrid group will fall back to classical ECDHE or DHE, so a hybrid key share on the listener does not by itself mean every session is protected. Confirm which groups your clients actually offer before reading the default as coverage.
Certificates are a separate question. RSA and ECDSA server certificates remain the authentication anchor for each SNI, and the docs name only RSA and ECC as key types with no documented minimum key size or signature algorithm. APISIX documents no ML-DSA or SLH-DSA support, so you cannot replace these certificates with post-quantum signatures inside APISIX today. The hybrid key exchange protects the session key, not the identity of the server, so a classical certificate chain will stay in place for authentication even after key exchange is upgraded.
Protocol and drift settings need a check as well. The default apisix.ssl.ssl_protocols is TLSv1.2 TLSv1.3, so TLSv1.2 stays allowed alongside TLSv1.3, and the groups above apply only to TLS 1.3 key shares. Any SSL object with a non-empty ssl_protocols array overrides the global setting for its SNI, and the Admin API can change that at any time without a reload of the instance. Run a check across all SSL objects through the Admin API and compare each ssl_protocols value and cipher behavior with the global setting, and record any SNI that differs.
Questions engineers and security leads ask about APISIX key dependencies
Is Apache APISIX quantum safe?
The documentation supports no such claim, and the facts do not show Apache APISIX as quantum safe or post-quantum ready in any configuration. What the checked sources do show is narrower: the default TLS 1.3 key shares include the hybrid group X25519MLKEM768 from version 3.20.0 onward, through the bundled OpenSSL runtime. Certificates, signatures and mTLS still rely on RSA and ECC, and the docs describe no post-quantum signature support. Treat the key exchange default as one partial control, and confirm the full set of algorithms against your own deployment.
Which APISIX version added the X25519MLKEM768 default?
Version 3.20.0 is the first release the checked changelog ties to this default. Its entry says APISIX-Runtime 1.4.2 moves OpenSSL to 3.5.9 and adds X25519MLKEM768 to the default TLS 1.3 key shares. The entry is not marked as a breaking change, so the default carries into 3.20.0 and later, including the current 3.21.0 release. Confirm the runtime version on your own hosts, since the default depends on the bundled runtime rather than on the APISIX version number alone.
Does a setting turn hybrid key exchange on or off in APISIX?
The checked docs describe no setting that selects TLS key exchange groups, so there is no documented switch for X25519MLKEM768. The example config shows the cipher list and protocol settings, but none of them names this group. The behavior comes from the bundled runtime's OpenSSL build, so the practical control is the runtime version you deploy. Ask the Apache project or your runtime packager to confirm whether any configuration option exists in your release before you rely on one.
Does Apache APISIX have a paid or post-quantum edition?
The pages checked show a single open-source edition under the Apache 2.0 license, and they describe no separate paid tier or post-quantum edition. Apache APISIX is an Apache Software Foundation project, so there is no vendor license fee in the documented model. Costs you will still carry include the engineering time to upgrade the runtime, test cipher and certificate changes and maintain certificate issuance. Confirm with the project or any commercial provider you use whether support or enterprise terms apply to your deployment.
What breaks when the ssl_ciphers list is changed?
Changing apisix.ssl.ssl_ciphers alters which suites the listener will negotiate, so clients without a matching suite will fail the handshake. The example config lists eight suites, including ECDHE and DHE key exchange with RSA and ECDSA authentication, and removing them can strand older clients. Enabling TLSv1.1 also requires adding compatible suites to this list, according to the SSL protocol doc. Test the change against your client population, and note that the setting applies instance-wide and requires a reload to take effect.
What should we ask the Apache project about post-quantum plans?
Ask whether a post-quantum signature or certificate option is planned, and whether a setting will select key exchange groups in future releases. Ask which OpenSSL and APISIX-Runtime versions carry X25519MLKEM768 and whether any ML-KEM-only mode exists. Ask whether a FIPS or CNSA 2.0 validation is planned, since the FIPS doc names no validated module version or certificate number. The checked sources contain no roadmap statement on these points, so record the date of your request and the reply in your evidence file.
Can our team inventory APISIX key dependencies itself, or do we need outside help?
Your team can inventory the main dependencies with the config example, the SSL objects in the Admin API and the upstream TLS settings, because the docs list them clearly. Start with listener protocols and ciphers, certificate types, client mTLS, upstream tls.client_cert settings, etcd TLS and the data encryption keyring. Outside help is most useful for verifying the runtime version in each environment, reviewing shared or unpublished configurations and preparing evidence for an assessment. Scope and cost depend on how many instances and routes you run, so ask for a written scope before agreeing a price.
How DeployOpen helps teams inventory and plan APISIX key dependencies
DeployOpen works with your team to map where Apache APISIX depends on RSA, Diffie-Hellman and elliptic-curve keys, from TLS listeners and SNI certificates to upstream mTLS and etcd connections. The result is a dated inventory your security and platform teams can check, plus a plan for the settings and components that would need to change.
How we scope
- We confirm the APISIX version, the edition in use and the deployment model before any inventory starts, since the documented defaults differ across releases.
- We agree in writing which listeners, SSL objects, upstreams, Admin API routes and etcd connections are in scope, along with the deliverables.
- We record which settings you control directly and which depend on the APISIX-Runtime build or on upstream vendor statements that we will confirm with you.
How we build
- We export the live configuration and compare it with the documented defaults for ssl_protocols, ssl_ciphers, certificate types and mTLS settings.
- We map each public-key dependency to its function, separating key exchange in the cipher list from RSA or ECDSA server certificates and from client certificates used upstream.
- We test the TLS handshake with the listeners and upstreams in your environment to confirm which key exchange groups and certificate types are actually negotiated.
How we hand over
- You receive a written inventory that lists each setting, its location in the config or Admin API object, its value and the date we checked it.
- The plan separates changes that need only configuration from those that depend on a runtime or release change, with the dependency noted for each.
- We walk your engineers and security leads through the findings so the inventory can be kept current as your APISIX configuration changes.
How we support
- Ongoing support, upgrades and periodic re-checks against new APISIX releases are available as a retainer, so the inventory stays aligned with the latest changelog.
- When the APISIX project publishes a new release or runtime change, we review its effect on your key dependencies and tell you what to confirm.
- Where the project has published no statement on a point, such as post-quantum certificates, we record that gap with its date rather than assuming support.

