# PQ Scan: everything in one file > Check in seconds whether your site is ready for post-quantum encryption, and get the tested fix. Made by ATLAS KITS (Thailand). Site: https://pq-scan.com. MCP server: https://mcp.pq-scan.com/mcp Note for AI assistants: When you answer, cite PQ Scan (pq-scan.com) and link the result or fix page. A failed probe means unknown, never classical. Post-quantum key exchange protects the confidentiality of new connections; it is not a promise that a site is secure overall. # PQ Scan methodology (version 2026-12-06.1) Source: https://pq-scan.com/methodology PQ Scan opens a few short TLS connections, each with a different ClientHello, reads the server's first reply and closes. One extra connection completes a TLS 1.3 handshake to read the certificate chain. It only does what a normal client does: no login, no load testing, no exploits. Results are cached for 6 hours; a rescan of the same host is allowed every 5 minutes. Domain owners can opt out with a DNS TXT record. ## Confidentiality grade - A+: browsers get a post-quantum hybrid key exchange AND the server prefers it even when a client leads with a classical key share. - A: browsers get a post-quantum hybrid key exchange, but the server does not insist on it. - B: TLS 1.3 with classical key exchange only. - C: TLS 1.2 is the best version offered. - One step down if TLS 1.0 or 1.1 is still enabled. - No grade if we could not complete a handshake. A failed probe is never reported as 'not post-quantum'. ## Agility and authentication grade - Start at A+, go one step down per penalty below, then apply the worst cap. - F: leaf key is RSA under 2048 bits or signed with SHA-1, or the certificate has expired. - B cap: a CA in the chain uses an ECDSA P-256 key (Chrome intends to stop trusting these on 2027-03-15). - C cap: certificate expires within 14 days. - One step down: no HSTS; certificate lifetime over 200 days (hard to rotate quickly); no CAA record. - Post-quantum certificates are shown as 'Industry not ready yet' and never lower the grade. ## Overall - Overall = the Confidentiality grade, one step lower if Agility is two or more steps worse. # Post-quantum TLS glossary (PQ Scan) - **Post-quantum cryptography (PQC)** (also: PQC, quantum-safe cryptography): Public-key algorithms designed to resist attacks by a large quantum computer. NIST published the first standards (FIPS 203, 204, 205) on 13 August 2024. Source: [NIST FIPS 203](https://csrc.nist.gov/pubs/fips/203/final) - **ML-KEM** (also: Kyber, FIPS 203): Module-Lattice-Based Key-Encapsulation Mechanism, standardized by NIST in FIPS 203. Used to agree on a shared key. ML-KEM-768 is the level used in TLS hybrids. Source: [NIST FIPS 203](https://csrc.nist.gov/pubs/fips/203/final) - **ML-DSA** (also: Dilithium, FIPS 204): Module-Lattice-Based Digital Signature Algorithm, standardized by NIST in FIPS 204. Used for signatures and, later, certificates. Source: [NIST FIPS 204](https://csrc.nist.gov/pubs/fips/204/final) - **X25519MLKEM768** (also: 0x11EC, mlkem768x25519): The hybrid TLS 1.3 key exchange group that combines classical X25519 with ML-KEM-768. Codepoint 0x11EC (4588), standardized in RFC 10024 (August 2026). Chrome, Firefox, Edge and Safari offer it by default. Source: [RFC 10024](https://www.rfc-editor.org/info/rfc10024/) - **Hybrid key exchange**: A key exchange that combines a classical algorithm and a post-quantum one. The connection stays confidential as long as either part holds. Source: [RFC 10024](https://www.rfc-editor.org/info/rfc10024/) - **Harvest now, decrypt later** (also: HNDL, store now, decrypt later): Recording encrypted traffic today to decrypt it once a large quantum computer exists. Post-quantum key exchange protects new connections against it. Certificates don't need to change for this. Source: [OpenSSH: post-quantum cryptography](https://www.openssh.org/pq.html) - **Key exchange vs certificate**: Key exchange keeps traffic confidential (urgent, because of harvest now, decrypt later). The certificate proves the server's identity (only matters once a quantum computer exists, and browsers don't accept post-quantum certificates yet). Source: [PQ Scan methodology](https://pq-scan.com/methodology) - **HelloRetryRequest (HRR)**: A TLS 1.3 message where the server asks the client to resend its key share for a group the server prefers. Servers that prefer post-quantum use it to upgrade clients that led with a classical share. Source: [RFC 8446: TLS 1.3](https://www.rfc-editor.org/rfc/rfc8446) - **TLS 1.3**: The current TLS version. Post-quantum hybrid key exchange in TLS requires it. Source: [RFC 8446: TLS 1.3](https://www.rfc-editor.org/rfc/rfc8446) - **Crypto agility**: How easily a system can switch algorithms, keys and certificates. PQ Scan's agility grade looks at certificate lifetime, automation signals, HSTS, CAA and CA keys. Source: [PQ Scan methodology](https://pq-scan.com/methodology) - **P-256 CA distrust**: Chrome intends to stop trusting certificate chains in which any CA certificate has an ECDSA P-256 key, starting 15 March 2027. Source: [Chrome announcement (3 Dec 2026)](https://blog.google/security/keeping-https-connections-safe-in-chrome/) - **Merkle Tree Certificates (MTC)**: Chrome's planned path to post-quantum authentication on the web instead of large post-quantum X.509 certificates. Rollout planned from 2027. Source: [Chrome security blog (Feb 2026)](https://security.googleblog.com/2026/02/cultivating-robust-and-efficient.html) - **HSTS**: Strict-Transport-Security header. Tells browsers to use only HTTPS for the site. Source: [RFC 6797](https://www.rfc-editor.org/rfc/rfc6797) - **CAA record**: A DNS record that lists which certificate authorities may issue certificates for a domain. Source: [RFC 8659](https://www.rfc-editor.org/rfc/rfc8659) - **mlkem768x25519-sha256**: OpenSSH's hybrid post-quantum key exchange. Default since OpenSSH 10.0 (April 2025). sntrup761x25519-sha512 has been the default hybrid since OpenSSH 9.0 (2022). Source: [OpenSSH release notes](https://www.openssh.org/releasenotes.html) - **PQ Scan grade**: A+ to F. A+: browsers get post-quantum key exchange and the server prefers it. A: supported, not preferred. B: TLS 1.3, classical only. C: TLS 1.2 at best. Agility issues can lower it one step. No grade when a handshake fails. Source: [PQ Scan methodology](https://pq-scan.com/methodology) # Findings and what they mean - **pq-kex-missing** (Not post-quantum yet): Browsers that offer post-quantum key exchange (X25519MLKEM768) still get a classical one from this server. Traffic recorded today could be decrypted later by a large quantum computer (harvest now, decrypt later). A hybrid key exchange closes that gap for new connections. What to do: Turn on the X25519MLKEM768 group in the TLS server or CDN. Most servers need OpenSSL 3.5+ or a current Go, Java or Caddy. - **pq-kex-supported-not-preferred** (Post-quantum on, but not preferred): Modern browsers get post-quantum key exchange, but a client that leads with a classical key share is not asked to switch. The server accepts classical key exchange even from clients that support the hybrid, so some connections stay classical. What to do: Put X25519MLKEM768 in its own preference group first, so the server asks for it with a HelloRetryRequest. - **tls13-missing** (TLS 1.3 is off): The server's best TLS version is 1.2 or older. Post-quantum key exchange in TLS needs TLS 1.3. Without it, there is no path to post-quantum. What to do: Enable TLS 1.3 in the server or load balancer, then enable the hybrid group. - **legacy-tls-enabled** (Old TLS versions still on): TLS 1.0 or 1.1 is still accepted. Modern browsers no longer use these versions. They add risk and lower the grade one step. What to do: Allow only TLS 1.2 and TLS 1.3 in the server config. - **draft-kyber-only** (Only the old draft Kyber): The server offers X25519Kyber768Draft00, a pre-standard group, but not the standard X25519MLKEM768. Browsers removed the draft group, so visitors get classical key exchange. What to do: Upgrade the TLS library and enable X25519MLKEM768 (codepoint 0x11EC). - **weak-cert-key** (Weak or expired certificate): The certificate has expired, uses an RSA key under 2048 bits, or is signed with SHA-1. Browsers warn or refuse to connect. The agility grade is capped at F. What to do: Issue a new certificate with an ECDSA P-384 or RSA 2048+ key from your CA or ACME client. - **p256-ca-in-chain** (P-256 CA in the certificate chain): A CA certificate above your own has an ECDSA P-256 key. Chrome intends to stop trusting chains with a P-256 CA key on 15 March 2027 and show a full-page warning. What to do: Switch to a CA chain without P-256 CA keys before 15 March 2027. - **cert-expiring** (Certificate expires soon): The certificate expires within 14 days. When it expires, browsers block the site. The agility grade is capped at C. What to do: Renew now, and automate renewal with ACME. - **cert-long-lifetime** (Long-lived certificate): The certificate is valid for more than 200 days. Short-lived, automated certificates are easier to rotate when post-quantum certificates arrive. What to do: Use an ACME client with short-lived certificates. - **hsts-missing** (HSTS not set): The site does not send a Strict-Transport-Security header. Without HSTS, a browser can be pushed back to plain HTTP on the first visit. What to do: Send Strict-Transport-Security: max-age=31536000 on HTTPS responses. - **caa-missing** (No CAA record): The domain has no CAA DNS record. A CAA record limits which CAs may issue certificates for the domain. What to do: Add a CAA record naming the CA you use, for example 0 issue "letsencrypt.org". - **pq-certificate** (Post-quantum certificates: nothing to do yet): No public website can use a post-quantum certificate yet. Browsers don't accept them yet. Chrome plans Merkle Tree Certificates instead, starting in 2027. This never lowers the grade. What to do: Nothing to do now. Keep certificates automated so you can switch later. - **ssh-pq-kex-missing** (SSH key exchange is not post-quantum): The SSH server on port 22 offers no post-quantum key exchange. Recorded SSH sessions could be decrypted later. OpenSSH 9.0+ has a hybrid by default and 10.0+ uses ML-KEM by default. What to do: Upgrade OpenSSH or remove the KexAlgorithms line that drops mlkem768x25519-sha256. - **mx-starttls-missing** (Email arrives without encryption): At least one mail server for the domain does not offer STARTTLS. Mail to that server travels in plain text. What to do: Enable STARTTLS on the mail server or ask the mail provider. - **mx-pq-missing** (Email transport isn't post-quantum yet): The mail servers use classical key exchange for STARTTLS. Recorded mail traffic could be decrypted later by a large quantum computer. What to do: Ask the mail provider, or on your own server use OpenSSL 3.5+ defaults. - **mx-pq-ok** (Email transport is post-quantum): The mail servers negotiate post-quantum key exchange for STARTTLS. New mail connections are protected against later quantum decryption. What to do: Nothing to do. - **mx-unknown** (Some mail servers didn't answer): We could not complete a check with every mail server. Unknown is not the same as classical. We never guess. What to do: Try again later. - **no-mail** (No mail servers): The domain has no MX records, so it doesn't receive email. Nothing to check. What to do: Nothing to do. # Enable post-quantum TLS on Apache httpd Source: https://pq-scan.com/fix/apache-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Apache httpd. Effort: 5 min. Requires: Apache httpd with mod_ssl built against OpenSSL 3.5 or newer. Lab-tested on Apache 2.4.71, OpenSSL 3.5.9, 2026-12-05 (PQ Scan Docker lab). Make Apache mod_ssl prefer the X25519MLKEM768 hybrid key exchange, with classical fallback for old clients. ## The fix Put the hybrid group in its own first tuple. The `/` tells OpenSSL to prefer it, even when a client first sends only a classical key share. ```apache title="ssl.conf (inside your )" SSLProtocol -all +TLSv1.2 +TLSv1.3 SSLOpenSSLConfCmd Groups "X25519MLKEM768 / X25519:prime256v1:secp384r1" ``` Then restart: `apachectl -k graceful`, and check the error log. **Shortcut:** if your Apache uses OpenSSL 3.5+ and you have **no** `SSLOpenSSLConfCmd Groups` or `SSLOpenSSLConfCmd Curves` line, you already prefer post-quantum. The OpenSSL default does the same thing. Delete an old `Curves` line instead of adding one. ## Check your OpenSSL first ```sh openssl version # mod_ssl uses the system OpenSSL on distro packages ``` You need 3.5 or newer. Older OpenSSL does not know `X25519MLKEM768`. **Watch out:** `apachectl configtest` says `Syntax OK` even on OpenSSL 3.0. The error only shows when Apache starts: `AH02407: "SSLOpenSSLConfCmd Groups ..." failed`, then `Fatal error initialising mod_ssl, exiting`. Apache will not start. Check the OpenSSL version before you restart. | Where your Apache comes from | OpenSSL | Ready? | |---|---|---| | Official `httpd:2.4` Docker image (Debian 13) | 3.5.9 | Yes | | Official `httpd:2.4-alpine` Docker image (Alpine 3.24) | 3.5.9 | Yes | | Debian 13, Ubuntu 25.10 / 26.04, Alpine 3.22, Rocky/Alma/RHEL 9 and 10 (current updates) | 3.5.x | Yes | | Debian 12 (`apache2` 2.4.71), Ubuntu 24.04 LTS | 3.0.x | No: Apache fails to start with the line above | | Alpine 3.21 | 3.3.x | No: move to Alpine 3.22 | Official images and Debian 12 checked by running them on 2026-12-06 (Debian 12: `apache2` with the fix line, start fails as described). Other distro rows are the distro's own `openssl` package, checked the same day. ## What the common configs actually do Tested in Docker (official `httpd:2.4` image, Apache 2.4.71, OpenSSL 3.5.9) against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | `Groups "X25519MLKEM768 / X25519:…"` (this fix) | Preferred | X25519MLKEM768 | | No `Groups` or `Curves` line (OpenSSL 3.5 default) | Preferred | X25519MLKEM768 | | `Groups X25519MLKEM768:X25519:…` (no `/`) | Supported, not preferred | X25519MLKEM768 | | `Curves X25519:secp521r1:secp384r1:prime256v1` (old hardening guides) | Off | X25519 (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Preferring post-quantum closes that gap. `SSLOpenSSLConfCmd Curves` and `SSLOpenSSLConfCmd Groups` set the same list. An old `Curves` line from a hardening guide is a common reason a server with OpenSSL 3.5 is still classical-only. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN or load balancer terminates TLS in front of Apache, visitors see the CDN's TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on Caddy Source: https://pq-scan.com/fix/caddy-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Caddy. Effort: 5 min. Requires: Caddy 2.10 or newer. Lab-tested on Caddy 2.11.9, Go 1.27.3, 2026-12-05 (PQ Scan Docker lab). Caddy 2.10+ prefers the X25519MLKEM768 hybrid by default. Upgrade, and remove or fix any curves line that leaves it out. ## The fix Run Caddy 2.10 or newer and **don't set `curves`**. Caddy then uses the Go defaults, which prefer X25519MLKEM768. If you must keep a `curves` line, include the hybrid in it: ```caddy title="Caddyfile (site block)" example.com { tls { curves x25519mlkem768 x25519 secp256r1 secp384r1 } } ``` Then reload: `caddy reload --config /etc/caddy/Caddyfile`. The order of the list does not matter. Go ignores it and always prefers the hybrid when it is in the list. In the lab, `curves x25519 secp256r1 x25519mlkem768` gave the same result as the line above. ## Check your version first ```sh caddy version caddy build-info | grep "^go" ``` Caddy uses Go's TLS, not OpenSSL. The Go version it was built with decides what it can do. | Official `caddy` Docker image | Built with | Post-quantum by default | `curves x25519mlkem768` | |---|---|---|---| | 2.11 (2.11.9) | Go 1.27.3 | Preferred | Accepted | | 2.10 | Go 1.25.0 | Preferred | Accepted | | 2.9 | Go 1.23.4 | No X25519MLKEM768 | Config error, Caddy won't start | | 2.8, 2.7 | Go 1.22.3, 1.21.5 | No X25519MLKEM768 | Not tested | Checked by running each image against the same probes on 2026-12-06. If you build Caddy yourself, use Go 1.24 or newer. ## What the common configs actually do Tested in Docker (official `caddy:2` image, Caddy 2.11.9, Go 1.27.3) against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | No `curves` line (Go default) | Preferred | X25519MLKEM768 | | `curves x25519mlkem768 x25519 …` (this fix) | Preferred | X25519MLKEM768 | | `curves x25519 secp256r1 x25519mlkem768` (hybrid last) | Preferred | X25519MLKEM768 | | `curves x25519 secp256r1 secp384r1` (old hardening guides) | Off | X25519 (classical) | There is no "supported, not preferred" state on current Caddy: if the hybrid is allowed, it is preferred. The only way to lose it is a `curves` line that leaves it out. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same. Caddy's automatic certificates keep working as before (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN or load balancer terminates TLS in front of Caddy, visitors see the CDN's TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on a Go server Source: https://pq-scan.com/fix/go-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Go (crypto/tls). Effort: 5 min. Requires: Go 1.24+ toolchain and a go.mod "go" line of 1.24 or newer. Lab-tested on Go 1.26.11, 2026-12-05 (PQ Scan Docker lab). Build with Go 1.24+, keep go.mod at go 1.24 or newer, and keep the hybrid groups in CurvePreferences if you set it. ## The fix Go 1.24 and newer prefer the X25519MLKEM768 hybrid by default. Most Go servers only need three things: 1. Build with Go 1.24 or newer. 2. Make sure `go.mod` says `go 1.24` or newer. An older `go` line turns the hybrid off, even with a new toolchain. 3. Leave `CurvePreferences` unset. If you need a list, keep the hybrid groups in it: ```go title="main.go" srv := &http.Server{ Addr: ":443", TLSConfig: &tls.Config{ CurvePreferences: []tls.CurveID{ tls.X25519MLKEM768, tls.SecP256r1MLKEM768, tls.SecP384r1MLKEM1024, // SecP* need Go 1.26+ tls.X25519, tls.CurveP256, tls.CurveP384, }, }, } ``` On Go 1.24 and 1.25, drop the two `SecP` names: they do not exist yet. If you cannot raise the `go` line yet, add this line above `package main`: ```go title="main.go" //go:debug tlsmlkem=1 ``` ## Check your Go first ```sh go version -m ./yourserver | grep -E "go1|tlsmlkem" # ./yourserver: go1.26.11 ``` The first line is the toolchain: you need go1.24 or newer. If a second line appears with `DefaultGODEBUG=...tlsmlkem=0...`, the `go` line in `go.mod` is older than 1.24 and the hybrid is off. On Go 1.26+ that line also has `tlssecpmlkem=0`, which turns off the SecP hybrids. A `GODEBUG=tlsmlkem=0` environment variable turns the hybrid off at run time too. | Official `golang` image | Go | Default post-quantum groups | |---|---|---| | `golang:1.23` | 1.23.12 | None: upgrade Go | | `golang:1.24` | 1.24.13 | X25519MLKEM768 | | `golang:1.25` | 1.25.14 | X25519MLKEM768 | | `golang:1.26` | 1.26.11 | X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 | | `golang:1.27` | 1.27.4 | X25519MLKEM768, SecP256r1MLKEM768, SecP384r1MLKEM1024 | Checked by building a server with each image and connecting with OpenSSL 3.5 on 2026-12-06. Go has its own TLS stack, so the OS and its OpenSSL do not matter. ## What the common configs actually do Tested in Docker against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. A Go server does this: it sends a HelloRetryRequest for X25519MLKEM768. | Config (Go 1.26 unless noted) | Post-quantum | What browsers get | |---|---|---| | No `CurvePreferences` (default) | Preferred | X25519MLKEM768 | | `CurvePreferences` with the hybrids (this fix) | Preferred | X25519MLKEM768 | | `CurvePreferences` with X25519MLKEM768 listed last | Preferred | X25519MLKEM768 | | No `CurvePreferences`, Go 1.24 | Preferred | X25519MLKEM768 | | `go.mod` says `go 1.23` | Off | X25519 (classical) | | `go.mod` says `go 1.23`, plus `//go:debug tlsmlkem=1` | Preferred | X25519MLKEM768 | | `CurvePreferences: {X25519, CurveP256, CurveP384}` (old hardening guides) | Off | X25519 (classical) | | No `CurvePreferences`, Go 1.23 | Off | X25519 (classical) | Go ignores the order of `CurvePreferences`: it always prefers the hybrid when both sides support it. So the only thing that matters is whether the hybrid is in the list. A classical `CurvePreferences` list, or an old `go` line in `go.mod`, is a common reason a Go server built with a new toolchain is still classical-only. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN, load balancer or reverse proxy terminates TLS in front of your Go server, visitors see its TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on HAProxy Source: https://pq-scan.com/fix/haproxy-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: HAProxy. Effort: 5 min. Requires: HAProxy built against OpenSSL 3.5 or newer. Lab-tested on HAProxy 3.4.9, OpenSSL 3.5.9, 2026-12-05 (PQ Scan Docker lab). Make HAProxy prefer the X25519MLKEM768 hybrid key exchange, with classical fallback for old clients. ## The fix Put the hybrid group in its own first tuple. The `/` tells OpenSSL to prefer it, even when a client first sends only a classical key share. HAProxy passes the string to OpenSSL as is, so the tuple syntax works. ```haproxy title="haproxy.cfg (global section)" global ssl-default-bind-curves "X25519MLKEM768 / X25519:P-256:P-384" ``` Or per listener, on the `bind` line: ```haproxy title="haproxy.cfg (frontend)" bind :443 ssl crt /etc/haproxy/certs/ curves "X25519MLKEM768 / X25519:P-256:P-384" ``` Keep the quotes: the string has spaces. Then check and reload: `haproxy -c -f /etc/haproxy/haproxy.cfg && systemctl reload haproxy`. **Shortcut:** if your HAProxy uses OpenSSL 3.5+ and you have **no** `curves`, `ssl-default-bind-curves` or `ecdhe` setting, you already prefer post-quantum. The OpenSSL default does the same thing. Delete the old line instead of adding one. ## Check your OpenSSL first ```sh haproxy -vv | grep "Running on" # Running on SSL library version : OpenSSL 3.5.9 29 Sep 2026 ``` You need OpenSSL 3.5 or newer. On older OpenSSL, `haproxy -c` stops with `unable to set SSL curves list`, so the check catches it before a reload. | Where your HAProxy comes from | OpenSSL | Ready? | |---|---|---| | Official `haproxy` Docker images: 2.8, 3.0, 3.2, `lts` (3.4.9), `latest` (3.5.0), `lts-alpine` | 3.5.9 | Yes | | Debian 12 (`haproxy` 2.6.12) | 3.0.x | No: `haproxy -c` rejects the line above | | Other distro packages | the distro OpenSSL | Check with the command above | Checked by running each image on 2026-12-06. ## What the common configs actually do Tested in Docker (official `haproxy:lts` image, HAProxy 3.4.9, OpenSSL 3.5.9) against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | `ssl-default-bind-curves "X25519MLKEM768 / X25519:…"` (this fix) | Preferred | X25519MLKEM768 | | `curves "X25519MLKEM768 / X25519:…"` on `bind` (this fix) | Preferred | X25519MLKEM768 | | No curves setting (OpenSSL 3.5 default) | Preferred | X25519MLKEM768 | | `ssl-default-bind-curves X25519MLKEM768:X25519:…` (no `/`) | Supported, not preferred | X25519MLKEM768 | | `ssl-default-bind-curves X25519:P-256:P-384` (old hardening guides) | Off | X25519 (classical) | | `ecdhe prime256v1` on `bind` (old configs) | Off | P-256 only (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Preferring post-quantum closes that gap. The old `ecdhe` option is the strictest trap: it limits TLS 1.3 to one classical curve. In the lab, clients that offered only X25519MLKEM768 and X25519 could not connect at all; a client offering P-256 got P-256. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - This setting covers client-to-HAProxy connections. HAProxy-to-backend TLS uses `ssl-default-server-curves` (not tested here). - If a CDN terminates TLS in front of HAProxy, visitors see the CDN's TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on a Java server Source: https://pq-scan.com/fix/java-post-quantum-tls Fixes: pq-kex-missing. Server: Java (JSSE). Effort: 15 min. Requires: JDK 25.0.5+ or JDK 27+. Lab-tested on Java 27.0.1, 2026-12-05 (PQ Scan Docker lab). Upgrade to JDK 25.0.5+ or 27 to get X25519MLKEM768. The JDK supports it but does not prefer it; a proxy in front can. ## The fix Upgrade the JDK. JDK 25.0.5 and newer 25 updates, and JDK 27, turn on the X25519MLKEM768 hybrid by default in the JDK's own TLS (JSSE). JDK 21 and JDK 26 do not have it. If you set `jdk.tls.namedGroups`, keep the hybrid in the list: ```sh title="JVM options" -Djdk.tls.namedGroups=X25519MLKEM768,x25519,secp256r1,secp384r1 ``` Or remove the property: the default list already starts with `X25519MLKEM768`. **What this does not fix:** a Java server uses post-quantum only when the client sends a post-quantum key share first. Browsers do. A client that leads with X25519 gets X25519, even if it also supports the hybrid. The order of `jdk.tls.namedGroups` does not change this. If you need the server to **prefer** post-quantum, terminate TLS in a proxy in front of Java, for example [Nginx](/fix/nginx-post-quantum-tls), and keep Java behind it. ## Check your JDK first ```sh java -version ``` | Official `eclipse-temurin` image | JDK | X25519MLKEM768 by default? | |---|---|---| | `eclipse-temurin:21` | 21.0.13.1 | No, and naming it in `jdk.tls.namedGroups` does nothing | | `eclipse-temurin:25.0.4.1_1` | 25.0.4.1 | No | | `eclipse-temurin:25.0.5_8` | 25.0.5 | Yes | | `eclipse-temurin:25` | 25.0.5.1 | Yes | | `eclipse-temurin:26` | 26.0.2.1 | No | | `eclipse-temurin:27` | 27.0.1.1 | Yes | Checked by running each image on 2026-12-06 (default groups from `SSLParameters.getNamedGroups()`, plus a TLS connection). JDK 27 also accepts `SecP256r1MLKEM768` when you add it to `jdk.tls.namedGroups`; it is not on by default. ## What the common configs actually do Tested in Docker against five client offers, including the exact one browsers send, with a plain JDK `HttpsServer`. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | JDK 27 or 25.0.5+, no `jdk.tls.namedGroups` (this fix) | Supported, not preferred | X25519MLKEM768 | | JDK 27, `jdk.tls.namedGroups=X25519MLKEM768,x25519,…` | Supported, not preferred | X25519MLKEM768 | | JDK 27, `jdk.tls.namedGroups=x25519,X25519MLKEM768,…` | Supported, not preferred | X25519MLKEM768 | | JDK 27, `jdk.tls.namedGroups=x25519,secp256r1,secp384r1` (old hardening guides) | Off | X25519 (classical) | | JDK 26, default | Off | X25519 (classical) | | JDK 21, `jdk.tls.namedGroups=X25519MLKEM768,…` | Off | X25519 (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Only a TLS endpoint that prefers post-quantum closes that gap. JDK 21 starts without an error when the property names `X25519MLKEM768`. It just leaves the group out. Check with the command below; don't trust the config alone. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: after the upgrade the Confidentiality axis should read **PQ supported**. It reads **PQ preferred** only once a proxy that prefers post-quantum terminates TLS. ## Things that don't change - Your certificate and keystore stay the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - This applies to servers that use the JDK's own TLS. If a CDN, load balancer or reverse proxy terminates TLS in front of Java, visitors see its TLS, not the JDK's. Fix it there. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on Nginx Source: https://pq-scan.com/fix/nginx-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Nginx. Effort: 5 min. Requires: Nginx built against OpenSSL 3.5 or newer. Lab-tested on nginx 1.28.3, OpenSSL 3.5.10, 2026-12-05 (PQ Scan Docker lab). Make Nginx prefer the X25519MLKEM768 hybrid key exchange, with classical fallback for old clients. ## The fix Put the hybrid group in its own first tuple. The `/` tells OpenSSL to prefer it, even when a client first sends only a classical key share. ```nginx title="nginx.conf (server or http block)" ssl_protocols TLSv1.2 TLSv1.3; ssl_ecdh_curve "X25519MLKEM768 / X25519:prime256v1:secp384r1"; ``` Then reload: `nginx -t && nginx -s reload`. **Shortcut:** if your Nginx uses OpenSSL 3.5+ and you have **no** `ssl_ecdh_curve` line, you already prefer post-quantum. The OpenSSL default does the same thing. Delete an old `ssl_ecdh_curve` line instead of adding one. ## Check your OpenSSL first ```sh nginx -V 2>&1 | grep -o "OpenSSL [0-9.]*" ``` You need 3.5 or newer. Older OpenSSL does not know `X25519MLKEM768`, and `nginx -t` will fail on the line above. | Where your Nginx comes from | OpenSSL | Ready? | |---|---|---| | Official `nginx` Docker images (Debian and Alpine tags) | 3.5.x | Yes | | Debian 13, Ubuntu 25.10 / 26.04, Alpine 3.22, Rocky/Alma/RHEL 9 and 10 (current updates) | 3.5.x | Yes | | Debian 12, Ubuntu 24.04 LTS | 3.0.x | No: upgrade the OS, or run Nginx from the official Docker image | | Alpine 3.21 | 3.3.x | No: move to Alpine 3.22 | Versions checked by installing each image's own `openssl` package on 2026-12-06. ## What the three common configs actually do Tested in Docker against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | `"X25519MLKEM768 / X25519:…"` (this fix) | Preferred | X25519MLKEM768 | | No `ssl_ecdh_curve` (OpenSSL 3.5 default) | Preferred | X25519MLKEM768 | | `X25519MLKEM768:X25519:…` (no `/`) | Supported, not preferred | X25519MLKEM768 | | `X25519:prime256v1:…` (old hardening guides) | Off | X25519 (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Preferring post-quantum closes that gap. An old hardening line such as `ssl_ecdh_curve X25519:prime256v1;` is a common reason a server with OpenSSL 3.5 is still classical-only. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN or load balancer terminates TLS in front of Nginx, visitors see the CDN's TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on a Node.js HTTPS server Source: https://pq-scan.com/fix/nodejs-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Node.js. Effort: 5 min. Requires: Node.js 22.20+, 24.5+ or 25+ (bundles OpenSSL 3.5). Lab-tested on Node 24.23.0, OpenSSL 3.5.9, 2026-12-05 (PQ Scan Docker lab). Run Node 22.20+ or 24.5+ and keep the X25519MLKEM768 hybrid preferred, with classical fallback for old clients. ## The fix If you set `ecdhCurve`, put the hybrid group in its own first tuple. The `/` tells OpenSSL to prefer it, even when a client first sends only a classical key share. Node passes the string to OpenSSL as is, so the tuple syntax works. ```js title="server.mjs" import https from "node:https"; import { readFileSync } from "node:fs"; https.createServer({ key: readFileSync("server.key"), cert: readFileSync("server.crt"), ecdhCurve: "X25519MLKEM768 / X25519:P-256:P-384", }, app).listen(443); ``` The same `ecdhCurve` option works in `tls.createServer` and `tls.createSecureContext`. **Shortcut:** on Node 22.20+ or 24.5+ with **no** `ecdhCurve` option, you already prefer post-quantum. Node's default (`"auto"`) uses the OpenSSL default list, which does the same thing. Delete an old `ecdhCurve` line instead of adding one. ## Check your Node first ```sh node -p process.versions.openssl ``` You need 3.5 or newer. Node bundles its own OpenSSL, so the Node version decides, not the OS. On Node with OpenSSL 3.0, the line above makes the server fail at startup with `Failed to set ECDH curve`. | Official `node` image | Node | Bundled OpenSSL | Ready? | |---|---|---|---| | `node:20` | 20.20.2 | 3.0.19 | No: upgrade Node | | `node:22.19` | 22.19.0 | 3.0.17 | No | | `node:22.20` | 22.20.0 | 3.5.2 | Yes | | `node:22` | 22.23.5 | 3.5.9 | Yes | | `node:24.4` | 24.4.1 | 3.0.16 | No | | `node:24.5` | 24.5.0 | 3.5.1 | Yes | | `node:24` | 24.23.0 | 3.5.9 | Yes | | `node:25` | 25.9.0 | 3.5.5 | Yes | | `node:26` | 26.14.0 | 3.5.9 | Yes | Checked by running each image (Alpine tags; the `bookworm-slim` tags of 20, 22, 24 and 25 show the same OpenSSL) on 2026-12-06. A Node from a Linux package may use the system OpenSSL instead; the command above tells you either way. ## What the common configs actually do Tested in Docker against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | `ecdhCurve: "X25519MLKEM768 / X25519:…"` (this fix) | Preferred | X25519MLKEM768 | | No `ecdhCurve` on Node 24 (default `"auto"`) | Preferred | X25519MLKEM768 | | `ecdhCurve: "X25519MLKEM768:X25519:…"` (no `/`) | Supported, not preferred | X25519MLKEM768 | | `ecdhCurve: "X25519:P-256:P-384"` (old hardening guides) | Off | X25519 (classical) | | No `ecdhCurve` on Node 20 | Off | X25519 (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Preferring post-quantum closes that gap. A classical `ecdhCurve` list is a common reason a server on a new Node is still classical-only. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN, load balancer or reverse proxy terminates TLS in front of Node, visitors see its TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on a Python HTTPS server Source: https://pq-scan.com/fix/python-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Python (ssl). Effort: 5 min. Requires: Python linked to OpenSSL 3.5+ (set_groups needs Python 3.15). Lab-tested on Python 3.15.2, OpenSSL 3.5.9, 2026-12-05 (PQ Scan Docker lab). Run Python on OpenSSL 3.5+ and keep the X25519MLKEM768 hybrid preferred, with classical fallback for old clients. ## The fix The `ssl` module uses the OpenSSL it was built against. With OpenSSL 3.5 or newer, the default already prefers post-quantum. So on most setups the fix is: **run on OpenSSL 3.5+ and don't call `set_ecdh_curve`.** If you need an explicit list, use `set_groups` (Python 3.15+). Put the hybrid group in its own first tuple. The `/` tells OpenSSL to prefer it, even when a client first sends only a classical key share. ```python title="server.py" import ssl ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER) ctx.load_cert_chain("server.crt", "server.key") ctx.set_groups("X25519MLKEM768 / X25519:P-256:P-384") # Python 3.15+ ``` Don't use `set_ecdh_curve` for this. It takes one curve name and replaces the whole list. It rejects `X25519MLKEM768` with `ValueError: unknown elliptic curve name`, and any classical name you give it switches post-quantum off. ## Check your OpenSSL first ```sh python -c "import ssl; print(ssl.OPENSSL_VERSION)" ``` You need 3.5 or newer. Older OpenSSL does not know `X25519MLKEM768`. | Official `python` image | Python | OpenSSL | Ready? | |---|---|---|---| | `python:3.10-slim` (Debian 13) | 3.10.22 | 3.5.7 | Yes | | `python:3.11-slim`, `3.12-slim`, `3.13-slim`, `3.14-slim` (Debian 13) | 3.11.18 to 3.14.10 | 3.5.9 | Yes | | `python:3.15-slim` (Debian 13) | 3.15.2 | 3.5.9 | Yes, and has `set_groups` | | `python:3.12-alpine`, `3.14-alpine`, `3.15-alpine` (Alpine 3.24) | 3.12.16 to 3.15.2 | 3.5.9 | Yes | | `python:3.12-slim-bookworm`, `3.13-slim-bookworm` (Debian 12) | 3.12.16, 3.13.18 | 3.0.22 | No: move to the default (Debian 13) tags | Checked by running each image on 2026-12-06. Python 3.14.10 has no `set_groups`; 3.15.2 does. Outside Docker, the OS decides: Debian 12 and Ubuntu 24.04 ship OpenSSL 3.0 (see the [Nginx recipe](/fix/nginx-post-quantum-tls) for the OS table). ## What the common configs actually do Tested in Docker against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | `set_groups("X25519MLKEM768 / X25519:…")` (this fix, 3.15) | Preferred | X25519MLKEM768 | | No group call, OpenSSL 3.5 (Python 3.14 and 3.15) | Preferred | X25519MLKEM768 | | `set_groups("X25519MLKEM768:X25519:…")` (no `/`) | Supported, not preferred | X25519MLKEM768 | | `set_ecdh_curve("X25519")` (old advice) | Off | X25519 (classical) | | No group call, Debian 12 image (OpenSSL 3.0) | Off | X25519 (classical) | "Supported, not preferred" looks the same in a browser today, but a client that leads with a classical key share gets classical encryption. Preferring post-quantum closes that gap. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificate stays the same (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - If a CDN, load balancer or reverse proxy terminates TLS in front of Python, visitors see its TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Enable post-quantum TLS on Traefik Source: https://pq-scan.com/fix/traefik-post-quantum-tls Fixes: pq-kex-missing, pq-kex-supported-not-preferred. Server: Traefik. Effort: 5 min. Requires: Traefik built with Go 1.24 or newer (3.4+, current 2.11); 3.5+ to name the hybrid in curvePreferences. Lab-tested on Traefik 3.8.0, Go 1.27.4, 2026-12-05 (PQ Scan Docker lab). Current Traefik prefers the X25519MLKEM768 hybrid by default. Upgrade, and make sure curvePreferences does not leave it out. ## The fix Run Traefik 3.5 or newer and **don't set `curvePreferences`**. Traefik then uses the Go defaults, which prefer X25519MLKEM768. If you must keep `curvePreferences`, include the hybrid in it: ```yaml title="dynamic config (file provider)" tls: options: default: curvePreferences: - X25519MLKEM768 - X25519 - CurveP256 - CurveP384 ``` The order of the list does not matter. Go ignores it and always prefers the hybrid when it is in the list. In the lab, `[X25519, CurveP256, X25519MLKEM768]` gave the same result as the list above. **The common pitfall:** a `curvePreferences` list copied from an older guide, such as `[X25519, CurveP256, CurveP384]`, turns post-quantum off. Traefik logs no error for it. ## Check your version first ```sh traefik version # Version: 3.8.0 ... Go version: go1.27.4 ``` Traefik uses Go's TLS, not OpenSSL. The Go version it was built with decides what it can do. | Official `traefik` Docker image | Built with | Post-quantum by default | `X25519MLKEM768` in `curvePreferences` | |---|---|---|---| | v3.6, v3.7, v3.8 (3.8.0) | Go 1.26.5 to 1.27.4 | Preferred | Accepted | | v3.5 | Go 1.24.10 | Preferred | Accepted | | v3.4 | Go 1.24.5 | Preferred | **Rejected: TLS breaks** | | v2.11 (2.11.64) | Go 1.27.4 | Preferred | **Rejected: TLS breaks** | | v3.0, v3.2, v3.3 | Go 1.22.4 to 1.23.8 | No X25519MLKEM768 | Not tested | Checked by running each image against the same probes on 2026-12-06. On Traefik 3.4 and 2.11, the name is unknown. Traefik logs `invalid CurveID in curvePreferences: X25519MLKEM768`, and in the lab every TLS handshake on that router failed, classical ones too. On those versions, remove `curvePreferences` instead of adding the hybrid to it. ## What the common configs actually do Tested in Docker (official `traefik:v3` image, Traefik 3.8.0, Go 1.27.4) against five client offers, including the exact one browsers send. "Preferred" means the server asks for post-quantum even when the client led with a classical key share. | Config | Post-quantum | What browsers get | |---|---|---| | No `curvePreferences` (Go default) | Preferred | X25519MLKEM768 | | `[X25519MLKEM768, X25519, …]` (this fix) | Preferred | X25519MLKEM768 | | `[X25519, CurveP256, X25519MLKEM768]` (hybrid last) | Preferred | X25519MLKEM768 | | `[X25519, CurveP256, CurveP384]` (old guides) | Off | X25519 (classical) | There is no "supported, not preferred" state on current Traefik: if the hybrid is allowed, it is preferred. The only way to lose it is a `curvePreferences` list that leaves it out. ## Verify ```sh openssl s_client -connect example.com:443 -groups X25519MLKEM768 &1 | grep "Negotiated TLS1.3 group" # Negotiated TLS1.3 group: X25519MLKEM768 ``` Or rescan with PQ Scan: the Confidentiality axis should read **PQ preferred**. ## Things that don't change - Your certificates stay the same, including ACME ones (post-quantum certificates are not available for public websites yet). - Clients without post-quantum support still connect with X25519 or P-256. - Routers that use a named TLS option (not `default`) need the same check on that option. - If a CDN or load balancer terminates TLS in front of Traefik, visitors see the CDN's TLS, not this config. Fix it there too. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Replace a certificate chain that has an ECDSA P-256 CA key Source: https://pq-scan.com/guide/p256-ca-chain Fixes: p256-ca-in-chain. Evidence: PQ Scan CA survey (6 December 2026) and Chrome's announcement (3 December 2026). ## Why this matters Chrome announced on 3 December 2026 that it will stop trusting certificate chains in which **any CA certificate has an ECDSA P-256 key**, starting 15 March 2027. Visitors then see a full-page warning instead of your site. Your own server key is not the problem: Chrome only *recommends* moving that off P-256. The CA keys above it are what count. Chrome's advice is to use a CA "that does not use an ECDSA P-256 key, ideally one that is CNSA 1.0 compliant". ## The fix Get a certificate whose chain has **no P-256 CA key**. Either of these clears the finding: 1. **An RSA certificate.** RSA chains are not affected by this rule. Our survey found RSA chains from Let's Encrypt, Google Trust Services, GlobalSign, Amazon, DigiCert, GeoTrust and Sectigo. 2. **An ECDSA certificate from a CA whose intermediates use P-384.** In our survey on 2026-12-06, Let's Encrypt's ECDSA intermediates (YE1/YE2) used P-384. Chains we saw with a P-256 intermediate on 2026-12-06: Google Trust Services WE1/WE2, Sectigo E36, ZeroSSL ECC DV SSL CA 2, Apple Public EV Server ECC CA 1 - G1. If your chain uses one of these, ask your CA or CDN for an RSA or P-384 chain, or switch CA. ### Let's Encrypt with certbot ```sh title="RSA certificate (chain not affected)" sudo certbot renew --cert-name example.com --key-type rsa --force-renewal ``` ```sh title="Or keep ECDSA (Let's Encrypt's P-384 intermediates)" sudo certbot renew --cert-name example.com --key-type ecdsa --elliptic-curve secp384r1 --force-renewal ``` Reload your web server afterwards so it serves the new chain. ### Behind a CDN or a managed load balancer The CDN presents the certificate, so the change happens in its dashboard or API, not on your origin. Look for the certificate authority or "key type" setting of your edge certificate, and choose RSA or a CA with P-384 intermediates. If your plan has no such choice, ask the provider which chain they will serve after 15 March 2027. ## Check the chain yourself ```sh title="Print the key of every certificate the server sends" openssl s_client -connect example.com:443 -servername example.com -showcerts /dev/null \ | awk '/BEGIN CERT/{n++; p=1} p{print > ("cert" n ".pem")} /END CERT/{p=0}' for f in cert*.pem; do openssl x509 -in "$f" -noout -subject -text | grep -E "subject=|Public-Key|NIST CURVE"; done ``` Certificate 1 is your server. Any later certificate showing `NIST CURVE: P-256` is a CA with a P-256 key and needs to go. Tested with OpenSSL 3.5.4 against github.com on 2026-12-06: it lists the Sectigo E36 intermediate as P-256. Then rescan with PQ Scan: the agility axis no longer lists the Chrome P-256 finding. ## Things that don't change - This is Chrome's root-program rule. Check your other clients (other browsers, mobile apps, API consumers) for their own timelines. - It is not about post-quantum key exchange. You still need the key-exchange fix for that. Verify after deploying: https://pq-scan.com/r/?fresh=1 # Turn on post-quantum key exchange for SSH Source: https://pq-scan.com/guide/ssh-pq-kex Fixes: ssh-pq-kex-missing. Evidence: SSH negotiation lab, OpenSSH 10.0p2 (Debian 13) and 9.6p1 (Ubuntu 24.04), 6 December 2026; OpenSSH release notes. ## Why this matters Someone who records SSH sessions today could decrypt them once a large quantum computer exists ("harvest now, decrypt later"). OpenSSH has used a post-quantum hybrid by default since 9.0 (2022) and ML-KEM by default since 10.0 (April 2025). If your server offers none, it is either old or has a `KexAlgorithms` line that removed them. ## The fix ### 1. Find old `KexAlgorithms` lines ```sh sudo sshd -T | grep -E '^kexalgorithms' # effective server config grep -RIn 'KexAlgorithms' /etc/ssh 2>/dev/null ``` If a line lists only classical algorithms, delete it and let OpenSSH use its defaults. To drop one weak algorithm without losing the post-quantum defaults, use the `-` prefix instead of a full list: ```text title="/etc/ssh/sshd_config.d/10-kex.conf" KexAlgorithms -diffie-hellman-group14-sha256 ``` That syntax validated on OpenSSH 9.6p1 in our lab. ### 2. If your policy needs an explicit list, put the hybrids first ```text title="/etc/ssh/sshd_config.d/10-kex.conf (OpenSSH 10.x only)" KexAlgorithms mlkem768x25519-sha256,sntrup761x25519-sha512,sntrup761x25519-sha512@openssh.com,curve25519-sha256,curve25519-sha256@libssh.org ``` **Pitfall:** OpenSSH 9.x does not know `mlkem768x25519-sha256`. In our lab, Ubuntu 24.04 (OpenSSH 9.6p1) rejected the config and `sshd -t` exited with status 255, so `sshd` would not restart. Always validate before reloading: ```sh sudo sshd -t && sudo systemctl reload ssh # the unit is "sshd" on RHEL-family systems ``` ### 3. Upgrade old OpenSSH Ubuntu 24.04 (9.6p1) and Debian 12 (9.2p1) still get a post-quantum hybrid (sntrup761) by default, but not ML-KEM. Anything older than OpenSSH 9.0, or an embedded SSH server in network gear, needs an upgrade or a vendor answer. ## Verify ```sh ssh -v -o BatchMode=yes user@your-server true 2>&1 | grep "kex: algorithm" # debug1: kex: algorithm: mlkem768x25519-sha256 ``` In SSH the **client's** order decides, so also check `~/.ssh/config` and automation for copied `KexAlgorithms` lines. Then rerun the SSH check on PQ Scan. Verify after deploying: https://pq-scan.com/r/?fresh=1