Dev.to Security 🔐 Cybersecurity 👁 0 📖 5 min read

Chrome Plans to Distrust P-256 CA Keys on March 15, 2027. Check Your Certificate Chain Today

Three things happened in two days this week: December 2: the NSA told national security system owners to "immediately accelerate the transition to post-quantum cryptography", after frontier AI companies disclosed "rec

Three things happened in two days this week:

  1. December 2: the NSA told national security system owners to "immediately accelerate the transition to post-quantum cryptography", after frontier AI companies disclosed "recent discoveries that impact the security of some cryptographic systems currently in use". It didn't say which ones. A joint statement from ONCD, NSA and CISA added that the advances "do not present an immediate and widespread threat".
  2. December 3, Google: "As of March 15, 2027, Chrome intends to stop trusting Certification Authority (CA) keys using ECDSA P-256 (secp256r1)." After that date, Chrome plans to show a full-page interstitial on sites whose certificates chain to a P-256 CA.
  3. December 3, Mozilla: Firefox's cryptography engineers wrote that they "understand there has been a substantial advance in classical cryptanalysis of at least one widely deployed public-key cryptosystem", and that they're evaluating ways to move away from weaker systems like P-256 in the Web PKI.

Neither browser says P-256 is the broken algorithm. But Chrome's date is concrete, and it applies to your site whether or not the two are linked. So here's the practical part.

What exactly Chrome will stop trusting

Read Google's wording carefully: it's about CA keys, the keys that sign certificates. That's the intermediate and root certificates in your chain, not (yet) your own server's key.

Certificate in your chain Key Affected by the March 15, 2027 date?
Your leaf certificate P-256 No, but Google "strongly encourage[s]" migrating your own keys away from P-256
An intermediate CA P-256 Yes
An intermediate CA P-384 or RSA No

Google asks site owners whose chain includes a P-256 CA key to get a new certificate from a CA that doesn't use P-256, "ideally one that is CNSA 1.0 compliant". It says it has already contacted all CAs using affected keys.

Check your chain with 30 lines of Python

This uses the openssl CLI to fetch the chain your server sends, and the cryptography package to read each key.

"""List the key type of every certificate a server sends, and flag P-256 CA keys."""
import re
import subprocess
import sys

from cryptography import x509
from cryptography.hazmat.primitives.asymmetric import ec, rsa

PEM = re.compile(rb"-----BEGIN CERTIFICATE-----.+?-----END CERTIFICATE-----", re.S)


def chain(host, port=443):
    out = subprocess.run(
        ["openssl", "s_client", "-connect", f"{host}:{port}", "-servername", host, "-showcerts"],
        input=b"", capture_output=True, timeout=20,
    ).stdout
    return [x509.load_pem_x509_certificate(p) for p in PEM.findall(out)]


def key_name(cert):
    key = cert.public_key()
    if isinstance(key, ec.EllipticCurvePublicKey):
        return {"secp256r1": "P-256", "secp384r1": "P-384", "secp521r1": "P-521"}.get(key.curve.name, key.curve.name)
    if isinstance(key, rsa.RSAPublicKey):
        return f"RSA-{key.key_size}"
    return type(key).__name__


for host in sys.argv[1:]:
    certs = chain(host)
    print(host)
    for i, cert in enumerate(certs):
        name = key_name(cert)
        role = "leaf" if i == 0 else "CA"
        flag = "  <- P-256 CA key" if role == "CA" and name == "P-256" else ""
        cn = cert.subject.rfc4514_string()[:48]
        print(f"  [{i}] {role:4} {name:9} {cn}{flag}")
pip install cryptography
python p256_check.py dev.to letsencrypt.org

Real output, December 5, 2026:

dev.to
  [0] leaf RSA-2048  CN=dev.to
  [1] CA   RSA-4096  CN=GlobalSign Atlas R46 DV TLS CA 2026 Q4,O=Glob
  [2] CA   RSA-4096  CN=GlobalSign Root R46,O=GlobalSign nv-sa,C=BE
letsencrypt.org
  [0] leaf P-256     CN=letsencrypt.org
  [1] CA   P-384     CN=YE2,O=Let's Encrypt,C=US
  [2] CA   P-384     CN=Root YE,O=ISRG,C=US
  [3] CA   P-384     CN=ISRG Root X2,O=Internet Security Research Gro

letsencrypt.org is a good example of the distinction: its own key is P-256, but every CA above it is P-384, so the March 2027 rule doesn't touch it. If any CA line in your output is flagged <- P-256 CA key, that's the certificate to replace.

Two caveats:

  • This shows the chain your server sends. Browsers may build a different path to a root, so treat a clean result as a good sign, not a guarantee. Your CA can confirm which keys it signs with.
  • Run it against every hostname you serve, including APIs and CDNs. A CDN usually supplies its own certificate, so ask your provider about its plan too.

Turn on post-quantum key exchange

Certificates are about who you're talking to. Key exchange is about whether recorded traffic can be decrypted later ("harvest now, decrypt later"), and that's the part you can fix today.

Both Google and Mozilla recommend the hybrid X25519MLKEM768 key exchange. Browsers already support it: Chrome and Edge 131+ and Firefox 132+. Mozilla says 52% of Firefox's TLS handshakes are already protected, and that wider use "is limited by a lack of support from some web servers". Cloudflare Radar shows 72.7% of human HTTPS requests on Cloudflare are post-quantum (last 7 days, checked December 5, 2026).

OpenSSL 3.5+ added ML-KEM, and its default TLS key shares offer X25519MLKEM768 and X25519. Check a server by offering only the hybrid group. If the handshake completes, the server supports it:

openssl version   # needs 3.5 or newer
openssl s_client -connect example.com:443 -groups X25519MLKEM768 </dev/null

No OpenSSL 3.5 handy? Cloudflare Radar's post-quantum page has a "Website support" checker that does the same handshake test for any hostname.

nginx built against OpenSSL 3.5+: list the hybrid group first. Mozilla recommends P-384 as the fallback where hybrid isn't available:

ssl_ecdh_curve X25519MLKEM768:secp384r1:X25519;

Go 1.24+: crypto/tls enables X25519MLKEM768 by default when Config.CurvePreferences is nil. If you pinned curves, you turned it off:

cfg := &tls.Config{
    // Leave CurvePreferences nil to keep Go's default, which includes X25519MLKEM768.
    // CurvePreferences: []tls.CurveID{tls.X25519}, // this would turn it off
}

The GODEBUG setting tlsmlkem=0 also turns it off, so check your environment.

A checklist for this week

  • [ ] Run the chain check on every public hostname
  • [ ] For any P-256 CA key: ask your CA or host for a replacement certificate now, not in February 2027
  • [ ] Enable X25519MLKEM768 on servers and load balancers (P-384 as the fallback)
  • [ ] Check outbound clients too: runtime versions, pinned curves, GODEBUG
  • [ ] Automate certificate issuance (ACME) so the next swap is a config change, not a project

What we still don't know

Which algorithm the AI-driven discoveries affect hasn't been disclosed. Reuters reported that several cryptographers pointed to P-256, and one told Reuters: "None of this indicates that they believe there's a practical break of P-256 today." There's also no public evidence that RSA-2048 is broken. The best-known public estimate (Gidney, May 2025) still says it would take a quantum computer with fewer than a million noisy qubits.

None of that changes the to-do list above. Chrome's date is set either way.

Discussion: have you checked your chains yet? Did you find any P-256 intermediates, and how quickly did your CA respond?

Sources, checked December 5, 2026: NSA press release and ONCD/NSA/CISA joint statement (Dec 2); Google, "Keeping HTTPS Connections Safe in Chrome" (Dec 3); Mozilla, "Accelerating our post-quantum transition" (Dec 3); Reuters via AsiaOne (Dec 5); OpenSSL 3.5 release notes; Go 1.24 release notes; Cloudflare Radar; Gidney, arXiv 2505.15917.

📰 Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.