Does Caddy support post-quantum cryptography?

Caddy v2.10.0 and later offer hybrid X25519MLKEM768 key exchange, on by default according to its release notes. The Caddy facts checked on 2026-12-03 show no post-quantum certificate or signature support.

On this page

Does Caddy support post-quantum cryptography today?

Caddy gives different answers for key exchange and for signatures and certificates. For key exchange, Caddy v2.10.0, published 2025-04-18, supports the hybrid X25519MLKEM768 group, and its release notes state that Caddy supports it by default. For signatures and certificates, the Caddy documentation and release notes describe no post-quantum signature or certificate algorithm. Certificates use the key types set by the key_type option (ed25519, p256, p384, rsa2048 or rsa4096), and none of those is a post-quantum algorithm. The latest release on the Caddy releases page as of 2026-12-03 is v2.11.9. The key exchange support is a feature of the TLS handshake only. It does not make Caddy quantum safe, and it does not change the certificates a Caddy site presents.

The key exchange depends on the Go toolchain that builds the binary. The commit that added the group placed X25519MLKEM768 first in Caddy's default curve list and raised the minimum Go version to 1.24. Go 1.24 enables the same hybrid group by default in crypto/tls, and the GODEBUG setting tlsmlkem=0 turns that default off. A binary built with an older toolchain, or with that setting, will not offer the group. On v2.10.0 or later, no configuration change is needed to turn it on. If you want to state it explicitly, the curves option of the tls directive accepts x25519mlkem768. Whether a connection actually uses the group also depends on the client. A March 2025 community thread describes a case where the client still negotiated plain X25519, so test the clients you serve.

For your inventory, record the two functions separately. Record key exchange as supported from v2.10.0, with the binary built by Go 1.24 or later, and confirm the version and the build toolchain in your own environment. Then test a handshake from each client class you rely on, because a server that offers the group does not show that a given client will use it. Record signatures and certificates as not documented as supported. Public and internal certificates keep classical key types, and Caddy's release artifacts are signed with Sigstore using ECDSA with SHA-384. Ask the Caddy project or your vendor for any post-quantum signature plans in writing, and date the answer. The latest release is v2.11.9 as of 2026-12-03, so re-check the releases page before each assessment, since this answer can change with a later release.

Which Caddy versions support post-quantum key exchange

This table compares Caddy release points on post-quantum key exchange, post-quantum signatures or certificates, and whether support is on by default or opt-in. Caddy is licensed under Apache-2.0 as a single project, and no commercial edition appears in the sources checked. Read each row with its date, and confirm the v2.11.x default in your own build before you record an answer.

ReleasePost-quantum key exchangePost-quantum signatures or certificatesOn by default or opt-in
Releases before v2.10.0 (Apache-2.0)Not documented in the sources checked; the hybrid group first appears in v2.10.0No post-quantum signature or certificate support documentedNot applicable, since no post-quantum key exchange is documented
v2.10.0 (Apache-2.0, published 2025-04-18)Hybrid X25519MLKEM768 built on ML-KEM-768 (FIPS 203); the build requires Go 1.24 or laterNo post-quantum signature or certificate support named in the release notesOn by default; no setting needed (release notes, 2025-04-18)
v2.11.9 (Apache-2.0, latest shown 2026-12-03)x25519mlkem768 listed in tls directive docs (checked 2026-12-03)No post-quantum signature or certificate support named in the docs or release notes checkedConfirm in your build; the facts do not restate the default
Release artifact signatures, v2.6.0 onwardNot a key exchange settingSigstore signatures use ecdsa-with-SHA384 (signature verification docs, checked 2026-12-03)Verified by you with cosign verify-blob; not a TLS setting

Which post-quantum algorithms Caddy supports and where they apply

Caddy's post-quantum support is narrow and tied to specific interfaces. The only post-quantum algorithm named in its documentation and release notes is the hybrid X25519MLKEM768 key exchange, which applies to TLS connections that Caddy terminates. The other cards show where public-key cryptography appears without a documented post-quantum option, so you can check each interface on its own.

Hybrid X25519MLKEM768 key exchange

This is the only post-quantum algorithm the Caddy documentation and release notes name. X25519MLKEM768 combines X25519 with ML-KEM-768, which FIPS 203 defines, and it covers the TLS key exchange only. You set it through the curves option of the tls directive, where x25519mlkem768 is marked PQC. Caddy v2.10.0 and later enable it by default, so check your version. Confirm the negotiated group with a TLS client, because a March 2025 community thread describes a client that still negotiated plain X25519.

TLS directive docs

Classical certificate key types

Certificates that Caddy issues through ACME or its internal CA use the key type set by the key_type global option. The documented values are ed25519, p256, p384, rsa2048 and rsa4096. None of these values is a post-quantum option, and the documentation names no post-quantum key type. The docs advise changing key_type only for a specific need and do not state a default, so read the value in your own configuration. Because certificate signatures derive from these keys, the documentation describes no post-quantum certificate path.

Global options docs

Sigstore signature on release artifacts

Caddy release artifacts have been signed with Sigstore since v2.6.0. The documented signing certificate uses ecdsa-with-SHA384, an elliptic-curve signature that covers release files and no TLS traffic. Verification uses cosign verify-blob with an optional Rekor lookup. When you plan a binary upgrade, record this as a classical signature, and check the verification guide for the exact steps and the identity values to match for the release you install.

Signature verification docs

Admin API on localhost:2019

The admin API listens on localhost:2019 by default. The CADDY_ADMIN environment variable or the admin global option can change that address. The API docs recommend a permissioned unix socket when untrusted code runs on the server. The docs do not describe TLS or mTLS for the admin endpoint, so there is no documented transport protection to inventory. Check whether your admin setting binds beyond loopback, and who can reach it through a proxy, sidecar or container port mapping.

Caddy API docs

Reverse proxy upstream connections

When reverse_proxy opens TLS connections to upstream servers, its transport supports tls_client_auth, tls_trust_pool, tls_server_name and tls_insecure_skip_verify. The docs warn against tls_insecure_skip_verify in production. The documentation does not say whether the hybrid group applies to these outbound connections. Confirm this with the Caddy project or by testing an upstream connection with a TLS client that reports the negotiated group, then record the result for the exact Caddy version you run.

Reverse proxy docs

Algorithms the docs do not name

The Caddy documentation and release notes do not mention ML-KEM-1024, ML-DSA or SLH-DSA. They name no signature support for ML-DSA or SLH-DSA in any version covered by the checks made on 2026-12-03. Treat questions about these algorithms as open, and ask the Caddy project before you record an answer. Record the gap in your evaluation with the date you checked it, and do not assume that a later release adds them.

Caddy release notes

What the Caddy key exchange depends on: Go toolchain and client offers

In Caddy, the hybrid key exchange comes from Go's crypto/tls package, so the Go toolchain that builds the binary is part of the answer. Commit 172136a added tls.X25519MLKEM768 at the front of Caddy's default curve list, ahead of X25519 and CurveP256, and raised the minimum Go version to Go 1.24 or later. The Caddy v2.10.0 release notes, published 2025-04-18, list that commit. A Caddy build at or after that commit cannot be made with an older Go release, so an older toolchain is not a route to the hybrid group. Record the Go version used for each Caddy binary, container image or distribution package you run, and confirm it from your build pipeline or the binary's build information, not only from the Caddy version label.

Go 1.24 enables X25519MLKEM768 by default in crypto/tls when Config.CurvePreferences is nil, and the GODEBUG setting tlsmlkem=0 reverts that default (Go 1.24 release notes). Caddy sets its own curve list, so the Go default is not the only input to what a server offers. The curves option in the tls directive lists x25519mlkem768 among its values, and the docs recommend leaving the defaults alone. Check whether tlsmlkem=0 is set in the environment where Caddy runs, in its service unit or container, or in the build, and check whether any Caddyfile sets curves to a list that omits x25519mlkem768. Confirm with the Caddy project how a given build combines its curve list with the Go setting, because that interaction is not settled by the documentation reviewed here.

A connection gets the hybrid group only when the client also offers it. The Caddy Community post-quantum thread from March 2025 shows the maintainer advising a user to build master with Go 1.24 to get the post-quantum key exchange, and it describes a case where that user's client still negotiated plain X25519. Server support is therefore only half of the test. Check the negotiated group from the clients you serve, using each client's own tooling, and record which browsers, API clients and libraries offered the hybrid group and which did not. This page does not establish any operating system, hardware or license tier requirement for the feature, so confirm those for your own build and packages before you record the result.

How the hybrid key exchange fits into a Caddy TLS handshake

The diagram follows one TLS connection to Caddy. The client opens with a ClientHello that offers key shares for X25519MLKEM768 and X25519. Caddy passes its curve list to the Go runtime it is built with. From Caddy v2.10.0 onward, X25519MLKEM768 is first on the default list, and the server selects a group both sides support. That step covers key exchange only. The certificate comes from a separate step, either an ACME CA or Caddy's internal CA, and it is signed with the key type set by key_type. When you check a deployment, confirm the curves setting, the Go version of your build and the key_type value, because the certificate signature stays classical.

Key exchange and certificate signing are separate steps in the handshake.

How to turn on X25519MLKEM768 in Caddy and confirm the negotiated group

This sequence turns on Caddy's hybrid X25519MLKEM768 key exchange and checks that a live connection negotiated it. It covers the release, the build toolchain, the process environment and the curves setting, then a test with a client that reports the negotiated group. The key exchange is the only post-quantum element the Caddy documentation names, so the result covers key exchange only, not certificates or signatures.

  1. Confirm the running release is v2.10.0 or later

    Check the version of the binary that serves traffic on the server or in the container image, not only the version in a build file. The X25519MLKEM768 group first appears in the v2.10.0 release, published 2025-04-18, so an earlier release is outside these steps. The latest release shown on the Caddy releases page on 2026-12-03 is v2.11.9. Done when the running binary reports v2.10.0 or later. If it reports an earlier version, upgrade before you continue.

  2. Build with Go 1.24 or later

    This check applies only if you build Caddy from source. Run go version on the build host and confirm it reports 1.24 or later. The Caddy commit that added the hybrid group also raised the minimum Go version to 1.24, and Go 1.24 enables X25519MLKEM768 by default in crypto/tls when no curve preferences are set. Done when the build host reports 1.24 or later and the build completes. Do not use an older toolchain for this sequence.

  3. Check that GODEBUG does not set tlsmlkem=0

    Look at the environment of the process that runs Caddy, including the systemd unit, container definition or shell profile that starts it. The GODEBUG setting tlsmlkem=0 reverts the Go 1.24 default that enables X25519MLKEM768, so that value blocks the group even on a correct release. Done when GODEBUG is absent or does not contain tlsmlkem=0. If it is set, remove that value, restart Caddy, and record where the value was set so the change can be traced.

  4. Decide whether to set curves explicitly

    No setting is needed on v2.10.0 or later, according to the Caddy v2.10.0 release notes. The tls directive documentation recommends leaving the curves option at its defaults. If your team wants the choice written down, the documented way to set it is the curves option inside a tls block, with x25519mlkem768 as the value. Record the decision either way. Done when the configuration either omits curves or lists x25519mlkem768, and Caddy has been restarted or reloaded to apply it.

  5. Connect with a client that reports the group

    Open a TLS connection to a site served by Caddy, using a client that displays the negotiated key exchange group. Use a public name or a test host you control. The client must offer the hybrid group as well as the server does, so check the client's own documentation for whether it offers X25519MLKEM768. Note the Caddy version, the client version and the time of the test. Done when the test completes and the client output is saved with the test record.

  6. Confirm the negotiated group reads X25519MLKEM768

    Read the group field in the client output. Done when it shows X25519MLKEM768. A result of plain X25519 means the hybrid group was not negotiated for that connection, so return to the earlier steps and check the release, the Go build, the GODEBUG value and the client offer. A Caddy community thread from March 2025 describes a user whose client still negotiated plain X25519 after a Go 1.24 build, so test with more than one client if you rely on this result. Repeat the test after each change and keep the result with your inventory.

Which post-quantum cryptography Caddy does not document yet

The items below reflect Caddy's published documentation and release notes as of 2026-12-03. Each card names a gap in the post-quantum picture, from certificate signatures and parameter sets to the admin API, upstream connections, validation and vendor plans, and says what to request from the project or confirm in your own testing.

Post-quantum certificates and signatures

Caddy's documentation and release notes contain no ML-DSA or SLH-DSA support. Certificates that Caddy issues through ACME or its internal CA use the key types set by the key_type option: ed25519, p256, p384, rsa2048 or rsa4096. Release artifacts are signed with Sigstore using ecdsa-with-SHA384. Ask the vendor whether post-quantum signature algorithms are planned for leaf certificates, intermediates and ACME issuance, and for which versions. Until an answer is in writing, record certificate signatures as classical.

tls directive docs

Parameter sets above ML-KEM-768

The only post-quantum key exchange named in Caddy's tls directive docs and v2.10.0 release notes is hybrid X25519MLKEM768, built on ML-KEM-768 as defined in FIPS 203. ML-KEM-1024 is not mentioned in the documentation or release notes checked for 2026-12-03. Ask whether a higher ML-KEM parameter set is planned, which value of the curves option would select it, and in which release it would arrive. Do not assume availability until the option list in the docs shows it.

v2.10.0 release notes

Admin API transport protection

The admin API listens on localhost:2019 by default, and CADDY_ADMIN or the admin global option can change that address. The API docs recommend a permissioned unix socket when untrusted code runs on the server, but they do not describe TLS or mTLS for the admin endpoint, so no post-quantum protection for that channel is documented. Ask the vendor whether admin endpoint TLS is planned. In your own environment, confirm the listener address and restrict access with socket permissions or host firewall rules.

Caddy API docs

Hybrid group on upstream connections

The reverse_proxy transport documents tls_client_auth, tls_trust_pool, tls_server_name and tls_insecure_skip_verify, and it lists no curves option for upstream connections. The docs therefore do not say whether upstream connections negotiate X25519MLKEM768. Ask the vendor which key exchange groups the upstream transport offers. Test with a backend that logs the negotiated group, and avoid tls_insecure_skip_verify for that test, since the docs warn against it in production.

reverse_proxy docs

Validated or certified builds

No validation or certification record for Caddy builds is documented as of 2026-12-03. Signed release artifacts show that a release was signed, which is a separate matter from validation of the cryptographic module inside it. Ask the vendor for any current validation or certification statement, including the module name, version, issuer and the exact Caddy build it covers. Until one is produced, record hybrid key exchange as a configuration setting in your inventory, not as a validated capability.

signature verification docs

Published roadmap or deprecation plan

No post-quantum roadmap, transition guide or deprecation plan for Caddy is documented as of 2026-12-03 in the sources checked. Post-quantum changes so far appear in release notes, such as the v2.10.0 default for X25519MLKEM768, with no forward schedule for signatures, certificates or the admin API. Ask the Caddy project, or ZeroSSL, which the repository names as the project owner, for a written statement covering planned post-quantum changes, dates by version and any deprecation of classical algorithms.

Caddy release notes

How Caddy deployment paths differ for post-quantum key exchange

The official release artifacts are the Caddy binaries published on the project's GitHub releases page. Release artifacts have been signed with Sigstore since v2.6.0, and the documented signing certificate uses ecdsa-with-SHA384. The signature shows that a file came from the project's release process. It does not change which key exchange the binary negotiates, so the version and the curve settings must be checked separately. The latest release shown on 2026-12-03 is v2.11.9.

  • Version floor: The X25519MLKEM768 group is on by default from v2.10.0, published 2025-04-18. Older releases are outside this answer.
  • Signature check: Verify the download with cosign verify-blob, following the signature verification docs. An optional Rekor lookup is also documented.
  • Signing algorithm: The ecdsa-with-SHA384 certificate applies to artifact signing only, not to TLS key exchange.
  • Go toolchain: The available facts do not state which Go version built each release artifact. Confirm this before recording a Go version.
  • Active configuration: The default curve list includes x25519mlkem768, but the curves option in the tls directive can change it. Check the running configuration.

Record the release tag, the cosign verification result and the active curves setting from the running server.

What to do next by Caddy version and customer situation

Work through these steps in order to find the Caddy release you run, confirm which key exchange it negotiates, and answer customer questions without claiming more than the documentation supports. Each step ends with a record you can file: a version, a negotiated group, a dated test result or a written answer from the contracting team.

  1. Record the Caddy release and build toolchain

    The engineer who runs the server reads the Caddy version from the running binary and records it for each host, along with the Go version used to build any binary compiled from source. The check is complete when every instance has a dated entry that shows whether it is v2.10.0 or later. The latest release on the Caddy GitHub releases page on 2026-12-03 was v2.11.9.

  2. Confirm the negotiated group

    On v2.10.0 or later, the engineer connects to a test site from a client that offers X25519MLKEM768 and checks which group the handshake negotiates. Hybrid key exchange needs no setting on these releases, but the test still matters, because a March 2025 community thread describes a client that negotiated plain X25519 instead. The step is done when the negotiated group, the client, the Caddy release and the test date are recorded together.

  3. Plan the upgrade for older releases

    On a release older than v2.10.0, the platform team plans an upgrade to v2.10.0 or later, because the documented hybrid key exchange starts in that release. If Caddy is built from source, the team confirms the Go toolchain is 1.24 or later, since the commit that added the group raised the minimum Go version to 1.24. They also check that the GODEBUG setting tlsmlkem=0 is absent from the build and run environment, because Go 1.24 uses it to turn the default off. The step is done when the target release and toolchain are written into the change plan and signed off by the owner.

  4. Record key exchange in questionnaires

    When a questionnaire asks about post-quantum support, the security or vendor-risk lead records key exchange as supported from Caddy v2.10.0, naming the hybrid X25519MLKEM768 group built on ML-KEM-768. For signatures and certificates, the lead records that the Caddy documentation and release notes checked on 2026-12-03 do not document post-quantum signature or certificate support, and name no ML-DSA or SLH-DSA support. The step is done when the answer names the release, the group and the check date.

  5. Ask contracting teams about CNSA 2.0 scope

    When a federal contract cites CNSA 2.0, the contracting or security lead asks the customer's contracting team which parameter sets and interfaces the clause names. CNSA 2.0 is written for national security systems, so the customer's answer decides how the clause applies to this deployment. The Caddy documentation and release notes show only the hybrid X25519MLKEM768 key exchange built on ML-KEM-768, and do not mention ML-KEM-1024 or ML-DSA or SLH-DSA signatures, so any gap must be stated in writing. The step is done when the customer's reply is filed with the contract.

  6. Keep the admin API on localhost

    The engineer who runs the server confirms that the admin API listens only on localhost or a permissioned unix socket, in every situation above. The default listen address is localhost:2019, and CADDY_ADMIN or the admin global option can change it, so check both the environment and the configuration. The Caddy 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. The step is done when the bound address is recorded for each host.

Common questions about Caddy post-quantum cryptography

Is Caddy quantum safe for key exchange and certificates?

Caddy has no quantum-safe certification, and its supported post-quantum feature covers one part of TLS. From v2.10.0, Caddy's default curve list includes the hybrid X25519MLKEM768 group, which is built on ML-KEM-768 (FIPS 203). This applies to the key exchange of a TLS connection, and only when the client also offers the group. The Caddy documentation and release notes do not describe post-quantum signatures for certificates, such as ML-DSA or SLH-DSA, and they do not mention ML-KEM-1024. Certificates still use the key types set by key_type, and release artifacts are signed with ECDSA through Sigstore. Treat the key exchange as the only supported post-quantum element today, and record certificates and signatures as open items to confirm with the vendor.

Which Caddy version is needed for post-quantum key exchange?

Caddy v2.10.0 or later is the release that added the hybrid group, and on that release it is on by default with no setting required. The v2.10.0 release notes, published 2025-04-18, state that Caddy supports x25519mlkem768 by default. The commit that added it also raised the minimum Go version to 1.24, so build Caddy with Go 1.24 or later. 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 2026-12-03 is v2.11.9. Releases before v2.10.0 are not documented as offering this group, so check the release notes for the exact version you run.

Does turning on post-quantum key exchange in Caddy cost extra?

Caddy's repository is licensed under Apache-2.0, but a license does not show whether support, builds or upgrades carry a fee. Confirm in writing with the Caddy project or its vendor, ZeroSSL, before you assume the change is free. For an in-house change, the cost components are staff time for the upgrade, a Go 1.24 or later build toolchain, and testing with each client type you serve. Most of this is one-time work, but upgrades recur with each Caddy and Go release you adopt. Costs rise with the number of Caddy instances, the number of client types to test, and the number of devices between clients and Caddy. Ask any outside provider for a quote based on a written scope that lists these items.

What breaks when post-quantum key exchange is turned on in Caddy?

Nothing is forced onto the hybrid group. Clients that do not offer x25519mlkem768 fall back to plain X25519, and a community report from March 2025 describes a client that still negotiated X25519 after the change (Caddy Community thread). Test each path before you rely on the result:

  • Browsers, API clients and internal tools, and which key exchange group each one offers
  • Load balancers, CDNs, WAFs and inspection devices between the client and Caddy, which may terminate TLS separately
  • Monitoring and health checks that read handshake details

This page does not describe how middleboxes handle the hybrid group, so run these tests in your own environment and record the negotiated group for each client type.

What should we ask Caddy or its vendor about post-quantum support?

As of 2026-12-03, ask for written answers tied to a named Caddy version. Start with these points:

  • Whether post-quantum signature support for certificates, such as ML-DSA or SLH-DSA, is planned, since the current documentation and release notes name none
  • Whether ML-KEM-1024 or other key exchange groups are planned, since only X25519MLKEM768 is named today
  • Which release and Go version each planned change requires, and whether older releases will receive it
  • Whether the admin API will gain TLS or mTLS, since the current documentation does not describe either
  • Whether a roadmap, transition guide or deprecation plan has been published for these items, with the date of each

Record each answer with its date, because the release notes and documentation change between versions.

Can our own team turn it on, or do we need outside help?

Your team can make the core change in-house if it already runs Caddy and can build with Go 1.24 or later. Upgrading to v2.10.0 or later, building with the required Go version, and checking that clients negotiate the group are engineering tasks your staff can own. Outside help fits best in three areas: an inventory of where Caddy uses cryptography across your sites, testing across the clients and devices you run, and the evidence that assessors request. DeployOpen plans, implements, upgrades and documents self-hosted open-source platforms in your own infrastructure, runs security testing, and prepares systems and evidence for compliance assessments. It does not issue audit reports or certifications. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How DeployOpen helps plan, enable and test Caddy post-quantum key exchange

DeployOpen approaches whether Caddy supports post-quantum cryptography as a scoped, written engagement inside your own infrastructure. Our work starts from the Caddy version you run, the Go toolchain used to build it and the key exchange settings in your Caddyfile, then records what is and is not covered. Key exchange, certificates and signatures are handled as separate items.

How we scope

  • Confirm the Caddy version and how the binary was built, including whether the Go toolchain is 1.24 or later.
  • Record every listener, site and upstream connection where Caddy negotiates TLS, and which ones the scope covers.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • Set the curves option to x25519mlkem768 where policy requires an explicit setting, and record the Caddyfile change.
  • Test the handshake from each client on the agreed list, and confirm which group was negotiated on each connection.
  • Keep certificates, key_type and admin API settings out of this change and log them as separate inventory items.

How we hand over

  • A written record of the Caddy version, Go build path, curves setting and handshake results for each tested client.
  • An inventory of certificate, signature and admin API items that remain classical, with the Caddy documentation each item cites.
  • Dated notes on what Caddy's docs and releases state at handover, for the vendor-risk file.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers for the Caddy setup.
  • Retest after Caddy or Go upgrades, because the default key exchange depends on the Caddy release and the Go toolchain used to build it.
  • Watch the Caddy release notes and the project's published plans, and report any change to the documented algorithm list.

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.