Does a post-quantum upgrade of Caddy need a new release or a rebuild?
If you run Caddy v2.10.0 or later and build it with Go 1.24 or later, the post-quantum hybrid key exchange is available without a rebuild of your configuration. Caddy v2.10.0, published 2025-04-18, added the hybrid X25519MLKEM768 key exchange to its default curve list, and the commit that added it, 172136a, also raised the minimum Go version to 1.24. As of 2026-12-03, the vendor documents only this key exchange. It does not document post-quantum certificates or signatures for Caddy, so a new release does not change how Caddy's certificates are signed or verified.
Whether you need a new release or a rebuild depends on the binary you run. If your Caddy binary is v2.10.0 or later and was compiled with Go 1.24 or later, the key exchange is on by default unless the GODEBUG setting tlsmlkem=0 disables it, which Go 1.24 documents as the way to revert that default. Check both the Caddy version your binary reports and the Go toolchain it was built with, because a release built with an older Go will not offer the hybrid group even if the Caddy version is new enough. The latest release shown on 2026-12-03 is v2.11.9, so an upgrade to a current release is a separate decision from enabling the key exchange.
If you want the key exchange set explicitly, use the curves option in the tls directive with x25519mlkem768, which the documentation lists as the post-quantum value. Confirm the effective setting in your own environment rather than assuming the default, and confirm the Go version of the exact binary you deploy. A community thread from March 2025 describes a user whose client still negotiated plain X25519 after a build with Go 1.24, so verify the negotiated group from a real client connection after any change.
Which Caddy version, Go version and setting apply to each part of the upgrade
This table separates the parts of a post-quantum upgrade in Caddy: the release that enables the hybrid key exchange, the Go toolchain needed to build it, and the explicit curves setting. Read each row against the Caddy version you run, and confirm the build and configuration in your own environment before recording an answer. The main takeaway is that the key exchange is the only post-quantum element the sources name, and certificate key types and signature algorithms are not listed as post-quantum.
| Component | What the sources say | Source and date | What to confirm |
|---|---|---|---|
| Key exchange (X25519MLKEM768) | Caddy v2.10.0 supports the standardized x25519mlkem768 group by default. | Caddy v2.10.0 release notes, published 2025-04-18 | Confirm the running binary is v2.10.0 or later. |
| Commit introducing the change | Commit 172136a added tls.X25519MLKEM768 at the front of the default curve list, ahead of X25519 and CurveP256. | Caddy commit 172136a | Check whether your build includes this commit if you use a custom or master build. |
| Go build requirement | Commit 172136a raised the minimum Go version to 1.24. | Caddy commit 172136a | Confirm the Go toolchain used to build Caddy is 1.24 or later. |
| Go runtime default | With Config.CurvePreferences nil, crypto/tls enables X25519MLKEM768 by default in Go 1.24. | Go 1.24 release notes | Check whether GODEBUG tlsmlkem=0 is set, which reverts this default. |
| Explicit setting (curves) | The tls directive curves option lists x25519mlkem768 as a supported value, marked PQC. | Caddy tls directive docs, checked 2026-12-03 | Decide whether to set curves explicitly or keep the defaults, which the docs say not to change. |
| Certificate key types (key_type) | The key_type global option accepts ed25519, p256, p384, rsa2048 or rsa4096, and the sources do not list these as post-quantum. | Caddy global options docs, checked 2026-12-03 | Record key_type as classical unless a future source says otherwise. |
| Certificate signature algorithms | The sources do not list any ML-DSA or SLH-DSA signature support in Caddy. | Caddy tls directive docs; Caddy v2.10.0 release notes, checked 2026-12-03 | Ask the vendor or check the release notes before assuming any signature support. |
| Client behavior | A community thread shows a client still negotiating plain X25519 after the server was built with Go 1.24. | Caddy Community post-quantum thread, March 2025 | Test with the client you need to support and confirm the negotiated group. |
Which parts of Caddy the upgrade touches and which it does not
Caddy's post-quantum change is narrow in the sources checked. The v2.10.0 default key exchange change touches the TLS handshake, while certificates, upstream transport, the admin API and release signing are not shown to change in the same way. Work through each area below to decide what to test and what to confirm with the vendor.
TLS key exchange through curves
This is the one area where the sources show a post-quantum change. Caddy v2.10.0 added the hybrid X25519MLKEM768 group and places it first in the default curve list, ahead of X25519 and CurveP256. Caddy commit 172136a raised the minimum Go version to 1.24, and the curves option can set this group explicitly. Check the negotiated group on a live connection, because a client may still fall back to plain X25519.
TLS directive docsCertificates from ACME and the internal CA
The sources document the key_type options (ed25519, p256, p384, rsa2048, rsa4096) and the internal issuer's lifetimes, but they do not state a post-quantum change to certificate signatures or key types. Certificates from Let's Encrypt and ZeroSSL, and locally generated ones, still rely on the classical algorithms selected here. Confirm with the vendor whether any post-quantum signature support is planned before assuming one.
- Default leaf lifetime
- 12h
Upstream reverse_proxy transport
The reverse_proxy transport options (tls_client_auth, tls_trust_pool, tls_server_name) control connections to upstream servers. The sources do not show that the post-quantum key exchange change applies to these upstream connections, so verify it separately. Test a backend connection on the upgraded build before assuming it negotiates the hybrid group.
reverse_proxy docsAdmin API on localhost:2019
The admin API listens on localhost:2019 by default, and the docs recommend a permissioned unix socket if untrusted code runs on the server. The sources do not describe TLS or mTLS for this endpoint, and they show no post-quantum change to it. Treat it as unchanged by the key exchange upgrade, and confirm its transport security with the vendor.
Caddy API docsSigstore-signed release artifacts
Caddy release artifacts have been signed with Sigstore since v2.6.0, with a signing certificate that uses ecdsa-with-SHA384. The sources show no post-quantum change to this signing scheme. Verify each release with cosign verify-blob, and confirm with the vendor whether future releases will use a different signing algorithm.
Signature verification docsWhat to check and change during a Caddy post-quantum upgrade
This sequence confirms the running Caddy release and the Go toolchain that built it, then checks that the key exchange Caddy negotiates is the hybrid X25519MLKEM768 group. The result is a record of the version, toolchain and curve settings, with evidence from a client that supports the group.
Confirm the running Caddy version
The engineer who runs the server records the version reported by the running binary, using the version command on the host that serves traffic. The published release notes say v2.10.0 (published 2025-04-18) added the hybrid X25519MLKEM768 key exchange by default, and the latest release listed on the Caddy GitHub releases page on 2026-12-03 is v2.11.9. The step is done when the version is at v2.10.0 or later, and the output is saved with the change record. Builds from master or custom forks need the same check against their own commit history, since the facts here cover only the tagged releases.
Check the Go toolchain used for the build
The person who builds Caddy confirms the Go toolchain version used to compile the binary, which the release notes and commit 172136a tie to a minimum of Go 1.24. Go 1.24 enables X25519MLKEM768 by default in crypto/tls when no curve preferences are set. If the build uses an older toolchain, or a deployment pins a GODEBUG setting, the engineer checks whether tlsmlkem=0 is set, since the Go 1.24 release notes say that value reverts the default. The step is done when the build toolchain is 1.24 or later and no tlsmlkem=0 override is present, or when the override is recorded and justified.
Review curve settings in the configuration
The engineer searches the Caddyfile and any JSON configuration for the curves option in tls directives and for any tls_curves setting. The tls directive documentation recommends leaving the curve defaults unchanged, and lists x25519mlkem768 as the hybrid option alongside x25519, secp256r1, secp384r1 and secp521r1. If no curves setting exists, the default list applies and includes X25519MLKEM768 first. If a curves setting exists, the engineer confirms that x25519mlkem768 is in the list and that the order keeps it ahead of the classical groups where the deployment expects hybrid negotiation. The step is done when the effective curve list is written down and matches the intended policy.
Verify the key exchange with a supporting client
The engineer connects to the server with a client that offers X25519MLKEM768, then inspects the negotiated group in the handshake. A Caddy community thread from March 2025 describes a user whose client still negotiated plain X25519 with a build that lacked the hybrid group, so a negative result must be checked against the client's own support for the group before the server is blamed. The engineer records the client name and version, the Caddy version and the negotiated group. The step is done when the handshake shows X25519MLKEM768 for the supporting client, or when the gap is traced to a client or build issue and logged.
Record the outcome and remaining gaps
The security lead or engineer writes a short record that lists the Caddy version, the Go toolchain, the curve configuration, the test client and the negotiated group. The record also states what the documentation does not cover: the Caddy documentation and release notes name only the hybrid X25519MLKEM768 key exchange, and do not mention ML-KEM-1024 or any ML-DSA or SLH-DSA signature support. The certificates, signatures and admin API described on this page are not changed by these steps, so the record should list them as open items. The step is done when the record is filed with the change ticket and the open items have owners.
How the hybrid key exchange fits into a Caddy TLS handshake
The diagram is illustrative and follows one TLS 1.3 handshake between a client and Caddy. The client sends its key shares in the ClientHello, and when it offers X25519MLKEM768 first, Caddy can complete the hybrid exchange, which combines ML-KEM-768 with X25519. When the client offers only X25519, the handshake falls back to classical key exchange and no post-quantum protection applies. Check that your client's offered groups, not only Caddy's curves setting, determine which group is actually negotiated, and confirm the result in a handshake capture or client TLS log.
Illustrative sequence: the hybrid group is used only when the client offers it.
How the upgrade differs by Caddy version line and build method
Caddy releases before v2.10.0 do not enable the hybrid post-quantum key exchange by default. The facts supplied for this page do not describe a post-quantum default for these versions, so the key exchange they negotiate is the one they already had. The upgrade path here is to move to v2.10.0 or later and then check the build, not to change settings on the older line.
- No default key exchange: The post-quantum group X25519MLKEM768 was added to Caddy with v2.10.0, so earlier releases have no default for it.
- Upgrade is the first step: Moving to a release at or after v2.10.0 is the change that introduces the default, and the release notes for v2.10.0 are the source for it.
- Latest line for reference: The latest release shown on the Caddy releases page on 2026-12-03 is v2.11.9, which is the line to plan against.
- Check the curves setting: Any existing curves option on an older configuration should be reviewed, since an explicit list overrides defaults after an upgrade.
Confirm the exact version reported by the running binary before recording any result for this line.
Caddy v2.10.0 and later, built with Go 1.24 or later, enable the hybrid key exchange by default. The Caddy commit that added the group also raised the minimum Go version to 1.24, so the toolchain used to compile the binary is what makes the feature available. In this case no extra setting is needed for the default.
- Default group: X25519MLKEM768 is placed at the front of the default curve list, ahead of X25519 and CurveP256.
- Go default behavior: Go 1.24 enables X25519MLKEM768 by default in crypto/tls when no curve preferences are set.
- No setting required: On v2.10.0 or later, no configuration change is needed to turn the group on.
- Explicit option available: The curves option can name x25519mlkem768 directly if a team wants the choice written into configuration.
- Client still decides: A community report from March 2025 describes a client that negotiated plain X25519 even when the server offered the hybrid group, so the client side must be checked too.
After deployment, confirm the negotiated group from a real client connection and record the Go version from the build.
A Caddy binary compiled with a Go toolchain older than 1.24 does not get the default hybrid key exchange, even when the Caddy source is v2.10.0 or later. The Caddy change that added the group depends on the Go version, so the compiler is the limit here. The fix is to rebuild with Go 1.24 or later, and the facts supplied do not describe a way to add the group to an older toolchain.
- Toolchain sets the ceiling: Go 1.24 provides the default in crypto/tls, so an older compiler cannot supply it.
- Version string is not enough: A binary reporting v2.10.0 or later may still have been built with an older Go, so the version number alone does not confirm the feature.
- Rebuild with Go 1.24 or later: The build path for a rebuilt binary should record the Go toolchain used.
- Prebuilt releases: Teams running a prebuilt binary should confirm from the release or build notes which Go version compiled it.
- Verify the artifact: Release artifacts are signed with Sigstore since v2.6.0, so verify the signature before replacing a binary.
Confirm the Go version embedded in the running binary and the negotiated group before treating the server as upgraded.
The Go runtime setting GODEBUG with tlsmlkem=0 reverts the default that Go 1.24 introduced, so a Caddy binary built with Go 1.24 or later will not offer X25519MLKEM768 by default when this setting is present. This setting can appear in service files, container images or environment files that were written before the upgrade, so it should be checked in every deployment path. Removing it is the step that restores the default.
- Reverts the Go default: Go 1.24 documents tlsmlkem=0 as the setting that turns off the default X25519MLKEM768 in crypto/tls.
- Check every deployment layer: The variable may be set in systemd units, Dockerfiles, Kubernetes manifests or shell profiles.
- Explicit curves still available: Whether an explicit curves option with x25519mlkem768 is honored with this setting present is a point to test on the specific build, since the facts supplied do not settle it.
- Remove and retest: After removing the variable, restart the process and confirm the negotiated group from a client.
- Record the reason: If the setting was added deliberately, document who set it and why, since it changes the post-quantum posture of the server.
Confirm the process environment of the running Caddy instance, not only the configuration files, before recording the key exchange.
Questions engineers ask about upgrading Caddy for post-quantum key exchange
Is Caddy quantum safe?
Caddy does not carry a quantum-safe label, and this page does not treat it as one. What the sources support is narrower: since v2.10.0, Caddy's TLS key exchange can use the hybrid X25519MLKEM768 group, which combines X25519 with ML-KEM-768 (FIPS 203). The Caddy documentation and release notes name no other post-quantum algorithm. They do not mention ML-KEM-1024, or ML-DSA or SLH-DSA signatures, so certificates and signatures are not covered by that support. Confirm the current status with the Caddy project before relying on it for an assessment.
Which Caddy version is needed for post-quantum key exchange?
Caddy v2.10.0, published 2025-04-18, is the first release whose notes state that X25519MLKEM768 is supported by default. The change came in commit 172136a, which also raised the minimum Go version to 1.24. Caddy's latest release on 2026-12-03 was v2.11.9, so a current build is a reasonable starting point, but confirm the version you run with caddy version and check the release notes for changes to TLS defaults. Versions before v2.10.0 do not have this support, according to the sources on this page.
Does upgrading Caddy for post-quantum key exchange cost extra?
The sources do not publish a price or effort figure for this upgrade, so none is given here. The work breaks into a few parts. Caddy itself is open source under Apache-2.0, so there is no license fee for the software. The costs that vary are the time to rebuild or upgrade the binary with Go 1.24 or later, testing of clients and upstreams, and any work on hosts that still run older Go or older Caddy builds. Ask any vendor or integrator for a written scope that lists the build, test and rollback steps, and who pays for each.
Why does a client still negotiate plain X25519 instead of the hybrid group?
Caddy offers X25519MLKEM768 in its curve preference list, but the client chooses the group it will use from the list it offers. A client that does not support the hybrid group, or that puts X25519 first, will negotiate plain X25519. A community thread from March 2025 describes a case where a user's client still negotiated X25519 after the maintainer advised building Caddy with Go 1.24. Check the client's TLS support, and confirm the server build with the Go version it was compiled against. Setting curves explicitly with x25519mlkem768 is documented as an option.
Does enabling post-quantum key exchange change Caddy certificates?
The key exchange setting does not change certificates. Certificates are issued by ACME CAs or by Caddy's internal CA, and their signature algorithms and key types are set separately, through the key_type global option. That option accepts ed25519, p256, p384, rsa2048 or rsa4096, and the documentation does not state a default. The documented ML-KEM support covers the key exchange only, so certificate signatures remain classical in the sources reviewed here. Plan any certificate changes as their own work, and confirm with the CA or with the Caddy project what it issues.
Can our team do the Caddy post-quantum upgrade ourselves?
The change is a build and configuration task on a server you control, and the sources describe the steps. Your team can do it if it has the Go toolchain for the build, access to the Caddy binary or source, and a way to test client connections and rollback. The team also needs to check the tls directive defaults, the curves option, and the admin API, which listens on localhost:2019 by default. Where the team lacks Go build experience, or must prove the result to an assessor, outside help can be scoped in writing. DeployOpen plans, implements, tests and documents self-hosted platforms in the client's infrastructure, and can scope this work on request.
How do we confirm post-quantum key exchange is working after the upgrade?
Confirm it by testing a real connection, not by reading the config alone. Verify the Caddy build and its Go version, check that the server's curve preferences include x25519mlkem768, and then connect with a client that supports the hybrid group and record which group was negotiated. Keep the test results as evidence for your inventory. Repeat the test from each client type that matters to you, because a client that does not offer the hybrid group will still negotiate X25519. Check the Caddy release notes at each upgrade, since defaults can change between versions.
What Caddy has not published and where an upgrade can silently fall back
The published record for Caddy names one post-quantum algorithm: the hybrid X25519MLKEM768 key exchange, built on ML-KEM-768 (FIPS 203). The Caddy tls directive documentation, the v2.10.0 release notes and the latest release notes on the GitHub releases page, checked 2026-12-03, do not mention ML-KEM-1024, ML-DSA or SLH-DSA signature support, or post-quantum certificates. Any upgrade plan should therefore treat certificates, certificate chains and the Sigstore-signed release artifacts as still classical. Ask the vendor or the project directly whether any post-quantum signature or certificate support is planned, and get the answer, with a date, in writing before you rely on it.
A hybrid key exchange only protects a session if the client actually offers it. A community thread from March 2025 describes a Caddy user building from master with Go 1.24 to get the new key exchange, and a case in which the connecting client still negotiated plain X25519. The negotiated group is visible in the handshake, so a successful build does not prove the key exchange is in use. The fallback can go unnoticed for several reasons: the client does not offer the hybrid group, a build on an older Go version lacks it, the tlsmlkem=0 GODEBUG setting from Go 1.24 has been applied, or a curves setting in the Caddyfile omits x25519mlkem768. None of these produces an error, so a working site looks the same as a protected one.
Before you call an upgrade complete, record the Caddy version, the Go toolchain used for the build, every curves and tls setting, and the GODEBUG environment. Then test with a client you control that offers the hybrid group and confirm which group the handshake selected. Repeat the test from each client population you serve, because one browser or API client may negotiate differently from another. Add the check to your inventory as an ongoing control, since a later rebuild or config change can silently remove the protection.
How DeployOpen helps plan and test a Caddy post-quantum upgrade
DeployOpen works through a Caddy post-quantum upgrade in stages: scoping the Go build and the TLS settings in your environment, building and testing the change, then handing over the configuration and evidence your team needs to run it. Each engagement is agreed in writing before work starts, and the steps below follow the facts on what the current Caddy release supports.
How we scope
- We record the Caddy version, the Go toolchain used to build it, and whether you run a release binary or a custom build.
- We list the sites, the upstream connections and the admin endpoint that the upgrade would touch, and agree that list in the written scope.
- We confirm which curves and key types are set in your Caddyfile today, so the baseline is documented before any change.
How we build
- We check the Go version the Caddy build requires and confirm the toolchain in your build environment meets that requirement.
- We test whether the hybrid X25519MLKEM768 key exchange is active by default in your build, and set the curves option only where the test shows it is needed.
- We run client handshakes from the browsers and API clients you use, and record which key exchange each one actually negotiates.
How we hand over
- We deliver the final Caddyfile, the build steps and the rollback steps, with each setting tied to the Caddy version it was tested on.
- We provide a written test record showing the handshakes run, the key exchange each client negotiated, and any clients that fell back to plain X25519.
- We document the items that remain open, such as clients outside your control, so your security and vendor-risk teams can record them.
How we support
- Ongoing support is available as a retainer, covering Caddy upgrades and re-testing when a new release changes the TLS defaults.
- We can retest the configuration after each Caddy release, since release notes can change defaults and conflicting settings, such as the client_auth error in v2.11.9.
- Continuous testing is available for teams that need periodic evidence that the configuration still matches their written baseline.

