Which Caddy functions depend on RSA and elliptic-curve keys

Caddy's certificates, key exchange and artifact signatures rely on RSA and elliptic-curve keys, and v2.10.0 or later can add the hybrid X25519MLKEM768 key exchange, which is the only post-quantum algorithm its documentation names.

On this page

Which Caddy functions rely on RSA and elliptic-curve keys today

Caddy's dependence on public-key cryptography falls into three areas. The first is certificates: Caddy obtains public certificates through ACME from Let's Encrypt or ZeroSSL by default, and for non-public sites it runs its own internal certificate authority. The key type of each certificate is set by the global key_type option, which accepts ed25519, p256, p384, rsa2048 or rsa4096. The documentation does not state a default value, so platform engineers should read the running configuration rather than assume one. The second area is the TLS key exchange, which is governed by the curves option in the tls directive. The third is the Sigstore signatures on Caddy's own release artifacts, which use ECDSA with SHA-384 for the signing certificate. As of 2026-12-03, this is how the project documents its signing, so verifiers using cosign verify-blob should expect that algorithm.

From v2.10.0, published 2025-04-18, the default curve list places the hybrid x25519mlkem768 group first, ahead of X25519 and P-256. Caddy's commit 172136a also raised the minimum Go version to 1.24. The practical consequence is that a Caddy build compiled with Go 1.24 or later, and not disabled through the GODEBUG setting tlsmlkem=0, will offer a hybrid key exchange by default, though the negotiated group still depends on the client. A community thread from March 2025 describes a user whose client still negotiated plain X25519, so security leads should test with real clients rather than read the default list as proof.

The documentation and release notes name one post-quantum algorithm: the hybrid X25519MLKEM768 key exchange built on ML-KEM-768 (FIPS 203). They do not mention ML-KEM-1024 or any ML-DSA or SLH-DSA signature support, so certificate issuance, certificate signatures and the Sigstore signing remain classical. Vendor-risk reviewers should record this as the documented state on 2026-12-03 and ask the Caddy project directly whether post-quantum certificate or signature support is planned.

Caddy public-key functions by version and component

This table lists each Caddy function that relies on RSA, ECDSA or elliptic-curve keys, with the version or default that applies to it and what the sources say about post-quantum support. Read each row against the version you run, since defaults changed in v2.10.0. The main takeaway is that only the TLS key exchange has a documented post-quantum option, while certificates, upstream connections, the admin API and Sigstore signatures show no post-quantum support in the sources checked on 2026-12-03.

FunctionVersion or defaultPost-quantum support in sourcesSource and check date
Public certificates (ACME)Certificate key type set by key_type; no default value stated in the docsNo post-quantum signature support named; ML-DSA and SLH-DSA are not mentionedCaddy global options docs, checked 2026-12-03
Certificate key_type optionAccepts ed25519, p256, p384, rsa2048 or rsa4096No post-quantum key type listedCaddy global options docs, checked 2026-12-03
Locally issued certificates (internal CA)Root lifetime 3600d, intermediate 7d, leaf 12hNo post-quantum algorithm named for the internal CACaddy tls directive docs, checked 2026-12-03
TLS key exchange (curves)Default list starts with x25519mlkem768 from v2.10.0; Go 1.24 or later requiredHybrid X25519MLKEM768 built on ML-KEM-768 (FIPS 203) is supported and on by defaultCaddy v2.10.0 release notes; Caddy commit 172136a, checked 2026-12-03
TLS 1.2 cipher suites (ciphers)Default minimum tls1.2; TLS 1.3 suites are not customizableECDHE with ECDSA or RSA listed; no post-quantum suite namedCaddy tls directive docs, checked 2026-12-03
Upstream TLS (reverse_proxy)tls_client_auth, tls_trust_pool and tls_server_name options availableNo post-quantum option named for upstream connectionsCaddy reverse_proxy docs, checked 2026-12-03
Admin APIListens on localhost:2019 by default; TLS or mTLS not describedNo post-quantum support; confirm admin access controls in your own setupCaddy API docs and global options docs, checked 2026-12-03
Sigstore release signaturesSigned since v2.6.0 with ecdsa-with-SHA384No post-quantum signature scheme named for release artifactsCaddy signature verification docs, checked 2026-12-03
Encrypted ClientHello (ech)Introduced in v2.10.0; retry configs sent from v2.11.8No post-quantum support named for ECH; confirm with the projectCaddy global options docs; Caddy v2.10.0 release notes, checked 2026-12-03

Which Caddy components use public-key cryptography

Caddy relies on public-key material in several places: certificates it obtains from public CAs, certificates it issues from its own internal CA, the key exchange that protects client connections, upstream connections to backends, and the signatures on its release artifacts. Each component below states what public-key material it involves and what the documentation says about post-quantum options today.

ACME-issued public certificates

By default Caddy serves every site over HTTPS and obtains certificates through ACME from Let's Encrypt and ZeroSSL, both enabled out of the box. The certificates carry public keys whose type is governed by the key_type option, and the private keys are kept in Caddy's configured storage. The documentation does not describe a post-quantum certificate or signature algorithm for these issuers. Check which key type each site uses and whether the issuing CA has announced plans for post-quantum certificates.

Automatic HTTPS docs

Internal CA certificates

For sites that are not public, Caddy generates its own certificate authority, with a root that signs only intermediates and an intermediate that signs leaf certificates. The documented defaults are a root lifetime of 3600 days, an intermediate lifetime of 7 days and a leaf lifetime of 12 hours. Every client that trusts this CA depends on its RSA or elliptic-curve keys. The documentation does not describe post-quantum signatures for the internal CA, so confirm the key type in use and plan how the root is distributed to clients.

TLS directive docs

The key_type option

The global key_type option sets the key type Caddy generates for TLS certificates. It accepts ed25519, p256, p384, rsa2048 or rsa4096, and the documentation advises changing it only for a specific need. The documentation does not state a default value, so read the effective setting from your own configuration. None of the accepted values is a post-quantum algorithm, so this option is the first place to inventory RSA and elliptic-curve certificate keys.

Global options docs

The curves option for key exchange

The curves option in the tls directive selects the groups used for TLS key exchange. It lists x25519mlkem768, marked as post-quantum, alongside x25519, secp256r1, secp384r1 and secp521r1. This is a key exchange choice, not a certificate choice: the hybrid X25519MLKEM768 group combines classical and ML-KEM-768 key exchange, while signatures and certificates in the same connection still rely on classical keys. Caddy's documentation recommends leaving the defaults in place unless you have a specific reason to change them.

TLS directive docs

Upstream TLS in reverse_proxy

When Caddy proxies to a backend over TLS, the reverse_proxy transport can present a client certificate with tls_client_auth and check the backend certificate against tls_trust_pool. Both sides therefore depend on RSA or elliptic-curve keys, and the upstream key exchange follows the same Go TLS stack. The documentation warns against tls_insecure_skip_verify in production. Confirm the upstream key types, the trust anchors in use and whether any backend is outside the scope of your post-quantum plan.

reverse_proxy docs

Sigstore-signed release artifacts

Caddy has signed its release artifacts with Sigstore since v2.6.0. The documented signing certificate uses ecdsa-with-SHA384, and verification runs cosign verify-blob with an optional Rekor transparency log lookup. This dependency sits on the release side rather than on live traffic, so it affects how you verify binaries you install. The sources do not describe a post-quantum signature for these artifacts, so confirm the verification method you use and watch the Caddy release notes for changes.

Signature verification docs

How the answer differs by Caddy version and deployment

Builds of Caddy released before v2.10.0 do not include a default hybrid post-quantum group. The release notes for v2.10.0, published 2025-04-18, describe the addition of the standardized x25519mlkem768 group as a change to Caddy's defaults, so earlier builds should be treated as offering only the classical curves unless the build and settings are checked directly. Certificates, signatures and the Sigstore artifact signatures are not changed by this release.

  • Key exchange: earlier releases do not default to X25519MLKEM768 in the TLS curve list.
  • Certificates: ACME-issued and locally issued certificates continue to use the key types set by key_type, with no post-quantum signatures documented.
  • Upgrade path: moving to v2.10.0 or later is the documented route to the default hybrid group, subject to the Go version used to build.
  • Verification: check the running version with the binary and compare it with the v2.10.0 release notes rather than assuming the default.
  • Signatures: release artifacts are signed with Sigstore, and the signing certificate uses ecdsa-with-SHA384 in every version since v2.6.0.

Before planning any change, confirm the exact version in production and record whether the build was produced from a release or from a custom source tree.

Where public keys appear in a Caddy TLS connection and certificate lifecycle

The diagram starts with a client handshake, where the client offers key exchange groups and Caddy selects one from its curves setting, with x25519mlkem768 as the only post-quantum option listed in the tls directive docs. Caddy then presents a leaf certificate issued either by ACME (Let's Encrypt or ZeroSSL by default) or by its internal CA, where key_type sets the key type. If Caddy proxies to an upstream through reverse_proxy, the upstream TLS connection is a separate handshake with its own certificate checks. Release artifacts are signed with Sigstore using an ECDSA-SHA384 certificate. Check each hand-off against the version you run, since the key exchange default depends on v2.10.0 or later and a Go 1.24 build.

Public-key touchpoints in a Caddy TLS connection, certificate issuance and release signing.

What to check first in your Caddy inventory

This sequence establishes which Caddy build you run, which key types and curve settings govern its TLS and certificates, and which upstream and admin paths touch public-key cryptography. The result is a dated record you can use to judge exposure before any change is made.

  1. Confirm the Caddy and Go build versions

    Run caddy version on each host and record the Caddy release, then confirm the Go toolchain used to build the binary, since the post-quantum key exchange depends on the build. Caddy v2.10.0 added the hybrid X25519MLKEM768 group by default and raised the minimum Go version to 1.24, so a release earlier than v2.10.0 does not include it. For a custom build, check the Go version recorded in the build output. This step is done when every host has a recorded Caddy version and a recorded Go version, with each binary's source (official release or custom build) noted.

  2. Check the curves and tls_curves settings

    Search the Caddyfile and any JSON configuration for curves and tls_curves, and record the value on each site or TLS policy. The tls directive documents the supported values as x25519mlkem768, x25519, secp256r1, secp384r1 and secp521r1, and its docs recommend leaving the defaults unchanged. An absent setting means Caddy's default list applies, which on v2.10.0 or later begins with x25519mlkem768. An explicit list that omits it means the hybrid group is excluded on that site. This step is done when each site's curve setting is recorded as either default or an explicit list.

  3. Record key_type for each certificate source

    Check the global key_type option and any per-site TLS settings to see which key type Caddy generates: ed25519, p256, p384, rsa2048 or rsa4096. Record separately the certificates issued by ACME (Let's Encrypt or ZeroSSL) and those issued by Caddy's internal CA, since the internal CA's root, intermediate and leaf lifetimes are set differently (3600 days, 7 days and 12 hours by default). The docs do not state a default key_type, so confirm the effective value from the running configuration rather than assuming one. This step is done when each certificate source has a recorded key type, issuer and lifetime.

  4. List upstream TLS and client authentication settings

    Find every reverse_proxy block that uses TLS toward a backend and record its tls_client_auth, tls_trust_pool, tls_server_name and tls_insecure_skip_verify values. Each of these determines which certificates and keys Caddy presents to upstreams and which trust roots it accepts, so each is a public-key dependency. Flag any use of tls_insecure_skip_verify, which the docs warn against in production. This step is done when each upstream connection is listed with its client certificate source, trust pool and verification setting.

  5. Check admin endpoint exposure and the global options

    Confirm the admin API address, which defaults to localhost:2019 and can be changed with CADDY_ADMIN or the admin global option, and check whether the endpoint is reachable from any network other than the host itself. The API docs recommend a permissioned unix socket where untrusted code runs on the server, and they do not describe TLS or mTLS for the admin endpoint, so record it as unprotected by TLS unless your own configuration says otherwise. Also record ech and ocsp_stapling if they are set. This step is done when the admin listen address, its reachability and the transport protection are recorded for each host.

  6. Verify the negotiated group with a test client

    From a client that offers the hybrid group, connect to each site and inspect the negotiated key exchange with a tool such as openssl s_client or a Go client using the X25519MLKEM768 group, noting the group reported in the handshake. The Caddy community thread from March 2025 describes a case where a client still negotiated plain X25519, so a successful configuration can still fall back and must be checked in the handshake itself. Test with a client whose own TLS library supports the hybrid group, because the server setting alone does not confirm what a given client receives. This step is done when each site's negotiated group is recorded alongside the client and tool version used. To turn on hybrid key exchange where it is not active, follow the procedure on the sibling page on enabling post-quantum key exchange in Caddy.

What Caddy has not published and what to ask the project

The Caddy documentation and release notes cover one post-quantum item: hybrid X25519MLKEM768 key exchange, which is on by default from v2.10.0. Several other questions a security team would ask about certificates, the admin API and signing have no documented answer in the checked sources, and no roadmap was found in those sources. The cards below list each gap and the question to put to the Caddy project or ZeroSSL.

No post-quantum certificate signatures

Caddy's documentation and release notes do not name ML-DSA, SLH-DSA or any other post-quantum signature algorithm for certificates. The certificates Caddy issues, whether from Let's Encrypt, ZeroSSL or its internal CA, are signed with the classical algorithms those issuers use, so the trust chain a client validates is classical today. Ask the Caddy project or ZeroSSL whether they plan to issue post-quantum signed certificates, which algorithms they would use, and whether any issuance support is on a roadmap. No roadmap was found in the checked sources, so treat the answer as unknown until the vendor confirms it in writing.

Automatic HTTPS docs

No ML-KEM-1024 option

The only post-quantum key exchange named in the Caddy documentation is the hybrid X25519MLKEM768 group, which is built on ML-KEM-768. The tls curves option lists x25519mlkem768, x25519, secp256r1, secp384r1 and secp521r1, and no ML-KEM-1024 value appears there. Teams that need a higher ML-KEM parameter set for a specific policy cannot select one through Caddy's documented settings. Ask the project whether an ML-KEM-1024 or pure ML-KEM option is planned, and check the curves list again after each release, since the checked sources do not describe one.

tls directive docs

Admin API transport security not described

The Caddy admin API listens on localhost:2019 by default, and the docs recommend a permissioned unix socket if untrusted code runs on the server. The documentation does not describe TLS or mTLS for the admin endpoint, so a reader cannot confirm from the docs whether the admin traffic can be encrypted with post-quantum or any other key exchange. Ask the project whether the admin endpoint supports TLS or mTLS, and if it does, which key exchange and certificate types apply. Until the answer is confirmed, keep the admin endpoint on localhost or a permissioned socket.

Caddy API docs

No post-quantum certificate key type

The key_type global option accepts ed25519, p256, p384, rsa2048 or rsa4096, and none of these is a post-quantum certificate key type. Operators who want to change the key type for a specific need have no documented post-quantum value to choose from. Because the docs do not state a default for key_type, confirm in your own configuration which key type Caddy generates. Ask the project whether a post-quantum key_type value is planned and which signature algorithm it would map to.

Global options docs

Classical signing certificate with no stated plan

The Sigstore signing certificate used for Caddy release artifacts uses ecdsa-with-SHA384, and verification runs through cosign verify-blob with an optional Rekor lookup. The signature verification docs do not describe a post-quantum signing plan for release artifacts. Anyone who verifies Caddy binaries with cosign is therefore checking a classical ECDSA signature today. Ask the project whether it intends to sign releases with a post-quantum scheme, and how customers would verify those signatures when it does.

Signature verification docs

Hybrid key exchange not yet confirmed in practice

A March 2025 community thread shows a maintainer advising a user to build master with Go 1.24 to get the post-quantum key exchange, and it describes a case where the user's client still negotiated plain X25519. The Caddy documentation does not explain how to confirm which group a live connection used. Ask the project for the supported way to verify the negotiated group on a deployed server, and whether the release notes will state the Go version required for each release that enables hybrid key exchange.

Community thread

What can go wrong with hybrid key exchange in Caddy

Turning on hybrid key exchange in Caddy does not guarantee that every connection uses it. The Caddy v2.10.0 release notes state that X25519MLKEM768 is supported by default, but a client may still negotiate plain X25519. A community thread from March 2025 describes this case, where a Caddy maintainer advised building with Go 1.24 to get the post-quantum key exchange and the user's client still negotiated classical X25519. Treat a successful handshake as proof of the key exchange only after you check which group the client actually negotiated, not after you have changed the configuration.

The build is a hard requirement. Caddy commit 172136a raised the minimum Go version to 1.24, and the default post-quantum group depends on crypto/tls in that Go release. A binary built with an older Go toolchain falls back to the classical groups without an error. Confirm the toolchain used for any custom or self-built Caddy binary, since a distribution package may be built with a different version than the one you expect. Also note that GODEBUG=tlsmlkem=0 reverts the Go 1.24 default, so a process started with that variable set will silently run without the hybrid group even on a correct build. Check the environment of the Caddy service as well as its binary.

Changing the key exchange also changes the size of the handshake, and some middleboxes and older clients may not handle the larger ClientHello well. Before you rely on the setting, test the affected paths, including load balancers, inspection devices and clients you do not control, and record any failures. Certificate signatures are a separate matter. The hybrid group changes only the key exchange, so the RSA, ECDSA and Ed25519 certificates Caddy issues keep their classical signatures, and a post-quantum key exchange alone does not make certificate authentication post-quantum. Plan the certificate side as its own item in your inventory.

Questions engineers ask about Caddy's public-key dependencies

Is Caddy quantum safe?

Caddy does not carry a quantum-safe claim that this page can support. What the sources show is narrower: from v2.10.0, published 2025-04-18, Caddy supports the hybrid X25519MLKEM768 key exchange by default, which combines X25519 with ML-KEM-768 (FIPS 203). Certificates, certificate signatures and the Sigstore artifact signatures remain based on classical public-key algorithms (ECDSA, RSA and Ed25519, depending on the key_type setting). The Caddy documentation and release notes do not mention ML-KEM-1024 or any ML-DSA or SLH-DSA signature support. Treat the key exchange as partially addressed and the certificate layer as unaddressed until the vendor says otherwise, and confirm the current state against the Caddy release notes and documentation for your version.

Which Caddy version do I need for hybrid key exchange?

Caddy v2.10.0 or later is the first release whose notes state that X25519MLKEM768 is supported by default. The commit titled caddytls: Support post-quantum key exchange mechanism X25519MLKEM768 (172136a) placed that group first in the default curve list and raised the minimum Go version to 1.24. Go 1.24 enables X25519MLKEM768 by default in crypto/tls when no curve preferences are set, and the GODEBUG setting tlsmlkem=0 reverts that default. The latest release shown on the releases page on 2026-12-03 is v2.11.9. Confirm your build uses Go 1.24 or later, and check that the negotiated group on a live connection matches what you expect, because a community report from March 2025 describes a client still negotiating plain X25519.

Does upgrading Caddy for post-quantum key exchange cost extra?

The sources do not give a price for any upgrade, and Caddy's open-source licence (Apache-2.0) carries no per-seat or per-server fee. The cost you will actually face comes from the work around the upgrade: moving to v2.10.0 or later, rebuilding Caddy with Go 1.24 if you compile it yourself, testing the reverse proxy and client paths that depend on the new key exchange, and confirming that clients negotiate the hybrid group. Costs recur if you maintain a custom build and must track new Caddy and Go releases. Ask your implementation partner for the work broken into build, test and rollout steps, and state whether the scope covers only key exchange or also certificate changes, which the sources do not yet show Caddy supports.

What breaks when I change Caddy's curve and key settings?

Changing the curves option or the key_type setting affects both handshakes and the certificates Caddy issues. Setting curves to a restricted list can prevent clients that support only some groups from connecting, and the Caddy documentation advises against changing the defaults unless you know what you are doing. Setting key_type changes the key that Caddy generates for TLS certificates, so existing clients that pin a specific key type or chain may need updates. Caddy's protocols default range (tls1.2 to tls1.3) also constrains which handshakes succeed. Test each change against the clients and upstreams you serve before rollout, and keep a rollback path for the certificates Caddy has already stored.

What should I ask Caddy or my vendor about post-quantum plans?

Ask whether the Caddy project or your vendor has published a roadmap for post-quantum signature algorithms in certificates, since the sources name only the hybrid key exchange. Ask which Go version a supported build uses and whether it is pinned, because the key exchange depends on Go 1.24 behaviour. Ask whether ML-DSA or SLH-DSA certificates, or ML-KEM-1024, are planned, and in which release. Ask how the Sigstore artifact signatures, which use ecdsa-with-SHA384, will be handled. If you hold a federal or regulated contract, ask whether the vendor has documented a transition timeline you can reference. Record any answer that is not in writing as unconfirmed.

Can my team check the Caddy key exchange without outside help?

Yes, the checks are within reach of an internal team. Confirm the Caddy version with the binary's version output and the Go toolchain used to build it. Confirm the default curve order in your configuration: if the curves option is unset, the default list in v2.10.0 and later starts with x25519mlkem768. To test a live handshake, use a client that offers the hybrid group and inspect the negotiated group on the connection, since a client that offers only classical groups will not show the hybrid key exchange. Record the results and repeat the test after each upgrade. Your own staff can run these tests; a partner is useful when you need the results mapped to a compliance control.

Do Encrypted ClientHello or the admin API change the post-quantum answer?

Neither setting changes the post-quantum status described above. Encrypted ClientHello (the ech global option, introduced in v2.10.0) protects the server name in the handshake but does not alter which key exchange or certificate algorithms are used; v2.11.8 added retry configs when Caddy rejects an ECH ClientHello. The admin API listens on localhost:2019 by default, and the Caddy documentation does not describe TLS or mTLS for that endpoint, so do not treat it as a protected channel for post-quantum purposes. Restrict access with a permissioned unix socket or host firewall rules, and document that control in your inventory.

How DeployOpen works on this

DeployOpen approaches the question of which Caddy functions depend on RSA and elliptic-curve keys by inventorying the certificates, keys and TLS settings in your own deployment, then documenting each dependency against the Caddy version you run. Work is scoped in writing before it starts, so the inventory covers the functions your team agrees on.

How we scope

  • Confirm which Caddy version, build and Go toolchain each environment runs before inventory starts.
  • Agree in writing which sites, certificate issuers, upstream proxy connections and admin endpoints are in scope.
  • Define whether the work is a one-time inventory or an ongoing review, since engagements are fixed-scope with retainers available.

How we build

  • Record the key_type, curves, protocols and ciphers settings in each Caddyfile or JSON config against the defaults documented for that release.
  • Trace which certificates come from ACME issuers and which come from Caddy's internal CA, and list their key types and lifetimes.
  • Check whether Sigstore-signed release artifacts and upstream tls_client_auth connections are part of the dependency map.

How we hand over

  • Deliver a dependency inventory that separates key exchange, certificate signatures and artifact signatures for each function.
  • Document which settings were confirmed in your environment and which still need confirmation with the vendor's documentation.
  • Provide the inventory in a form your security and vendor-risk reviewers can record and check against later Caddy releases.

How we support

  • Re-run the inventory when you upgrade Caddy or change Go versions, since default curve lists have changed across releases.
  • Review the inventory against new Caddy release notes as they are published, so the record stays dated and current.
  • Ongoing support and continuous review are available as a retainer, with scope and timing agreed in writing first.

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.