` reads). %> How to Fix a Certificate With a Crackable Private Key | TLS Radar Skip to main content
guides 4 min read By TLS Radar Team

How to Fix a Certificate With a Crackable Private Key

A private key's security depends entirely on being an unpredictable number chosen from an enormous range; a bug in the generation process can produce a key that looks normal but is actually one of a tiny number of possibilities, recoverable by calculation rather than theft. In October 2026, Mozilla disclosed that eight eMudhra intermediate private keys were exactly this: a test script bug meant every affected P-384 key was a small integer below 256. Mozilla recovered them within hours of the report. The fix for an affected certificate holder is a new private key, not just a reissue - reusing the old key carries the defect forward. TLS Radar checks every certificate in a chain for small EC keys, RSA factors that are too close together, and known weak-key fingerprints including ROCA.

A private key can be crackable even though nobody stole it, because it was generated badly in the first place. If your certificate authority tells you one of your certificates needs to be reissued for this reason, the fix is different from a normal renewal: you need a brand new private key, not just a new certificate pointing at the old one. Reissuing against the same key fixes nothing, because the key itself is the problem.

How a key ends up weak without ever being leaked

A private key's whole security rests on it being an unpredictable number, chosen from an enormous range. If the process that generates it has a bug, the result can look like an ordinary key on the outside while actually being one of a very small number of possibilities - something an attacker can work out by calculation rather than by stealing a file. Nobody has to breach your CA's systems for this to happen. The flaw lives in the generation step, not in how the key was stored afterward.

What happened at eMudhra

In October 2026, Mozilla disclosed that eight of eMudhra's intermediate certificate private keys were recoverable by anyone. The keys came from a key generation ceremony on April 30, 2025, during which eMudhra ran an approved test of a key wrap/unwrap process. A flaw in the script used for that test created a second, weaker key pair on the hardware security module, and - apparently because the key labels looked similar - the weaker keys were the ones actually used to request the certificates. The affected keys used the P-384 elliptic curve, which should produce a private value that's effectively a random number up to the size of the curve's group order. Instead, every affected key turned out to be a small integer below 256: as Mozilla put it, "effectively all-zeroes apart from the last byte." Mozilla recovered the keys itself within hours of the report being filed on October 17; other researchers reportedly did too (Mozilla Bugzilla 2083449).

eMudhra revoked all eight affected intermediates within a day of the report. Sectigo, which had cross-signed the same intermediates, completed its own revocation of the cross-certificates by October 19. Mozilla and Chrome moved to distrust the root these intermediates chained to within three days of the initial report.

How to check your own certificate's key

  1. Get the public key from your certificate: openssl x509 -in yourcert.pem -noout -pubkey -out pub.pem.
  2. For an RSA key, check the modulus is a genuinely large, non-trivial number: openssl rsa -pubin -in pub.pem -noout -text. A modulus sharing a small factor with another key in the wild, or showing an unusually short effective bit length, is the signature of this class of defect.
  3. For an EC key, there's no simple do-it-yourself check for a tiny private scalar from the public key alone - this is exactly why it slipped past eMudhra's own processes for over a year. A monitoring tool that samples certificates at scale and checks for known weak-key signatures (small factors, close primes, short effective key length, the ROCA fingerprint) is the practical option.

What to do if your CA tells you a key is weak

Generate a new private key and request a fresh certificate against it. Don't reuse the old key under any circumstances, and don't just ask for the same certificate reissued - a reissue against the same key carries the defect forward unchanged. If you don't control how your certificate is provisioned (a managed platform, a CDN, a load balancer appliance), confirm with whoever operates it that the replacement actually generates a new key rather than quietly reusing the old one.

What TLS Radar checks

TLS Radar checks every certificate in a chain, not just the leaf, for small EC private keys, RSA keys with small factors, close primes, and the ROCA fingerprint, on every scan. This is the same class of defect that took down eMudhra's intermediates - checking the leaf alone would have missed it, since the weakness lived further up the chain.

Check your certificate's key strength, no account required

See whether any certificate in your chain shows signs of a weak or crackable private key - along with everything else our scanner checks. Free, no account required.

Catch a weak key before someone else does the math

TLS Radar checks every certificate in your chain, not just the one on your server, for small EC keys, RSA factors that are too close together, and known weak-key fingerprints, so a problem introduced upstream by your CA still reaches you.

Related reading

Frequently asked questions

Can a private key be weak even if it was never stolen?
Yes. If the process that generated the key had a flaw, the key can be one of a very small number of possibilities that an attacker can work out by calculation, without ever accessing the file.
What happened with eMudhra's keys?
A bug in a test script run during an April 2025 key generation ceremony produced eight intermediate private keys that were effectively small integers below 256 instead of genuinely random numbers. Mozilla recovered them within hours of the October 2026 disclosure.
Do I need a new certificate or a new private key to fix this?
A new private key. Reissuing a certificate against the same weak key does not fix anything, because the key itself is the defect.
How do I check my own certificate's key strength?
For RSA, you can inspect the modulus with openssl for obvious signs of a small or shared factor. For elliptic-curve keys, there is no simple manual check from the public key alone, which is why a tool that samples certificates at scale for known weak-key signatures is the practical option.
Does TLS Radar check for this?
Yes. TLS Radar checks every certificate in a scanned chain for small EC private keys, RSA factors that are too close together, close primes, and the ROCA fingerprint.

Get the next post in your inbox

TLS monitoring tips and product updates. No spam, unsubscribe anytime.

Keep reading

Comparing tools? See how TLS Radar stacks up against DigiCert and SSL.com.