Certificate strength
Ask for ECDSA P-384 at your next renewal. P-256 is no longer the safe default.
Request a fresh P-384 key. If you need RSA, use 3072 bits.
Added Updated
What to do
Your server uses its certificate key to prove its identity during the handshake. For a new certificate, choose ECDSA P-384. Every current browser supports it.
This changed on 3 December 2026. Until then we recommended P-256, as most guides did. Then the NSA told its own systems to avoid elliptic curves smaller than P-384, and Let's Encrypt began recommending P-384 and RSA 3072 as defaults. See the December 2026 warnings for what is and isn't known.
| Key | About as strong as | Verdict |
|---|---|---|
| ECDSA P-384 | 192-bit | Pick this. |
| RSA 3072 | 128-bit | Pick this if you need RSA. |
| RSA 4096 | A little more than 3072 | Works, but slower for little gain. |
| RSA 2048 | 112-bit | Only for old clients that need it. |
| ECDSA P-256 | 128-bit on paper | No longer the default. Move off it at renewal. |
| Ed25519 | 128-bit on paper | Public CAs aren't allowed to issue it. |
"Bit strength" is NIST's rough measure of how much work a break takes with ordinary computers. The December warnings suggest the figure for 256-bit curves may be too generous, but nobody has published why.
You don't need to replace a working P-256 certificate today. Change the key type in your renewal settings and let the next renewal pick it up.
All of these fall to a large quantum computer, and a bigger key doesn't change that. P-384 and RSA 3072 are a stopgap until post-quantum certificates arrive.
Generate a new key at each renewal. Reusing one key for years means a single leak covers all of them.
What a stronger key doesn't fix
The key on your certificate is rarely the weak point. These matter more:
- How long the certificate lives. A stolen key is useful until the certificate expires. Shorter is stronger.
- Who signed it. In October 2026 a CA's own keys turned out to be guessable, and its customers' certificates stopped working whatever their key size. See the eMudhra incident.
- Who else can get one. Without CAA records, any CA can issue for your name.
- The signature hash. It should be SHA-256 or better. Public CAs stopped using SHA-1 years ago, but private ones sometimes still do.
How to check
openssl s_client -connect example.com:443 </dev/null 2>/dev/null | openssl x509 -noout -text | grep -E 'Public Key Algorithm|Public-Key|Signature Algorithm'
Or with weeb (get weeb):
weeb cert example.com
Look at the Key and Sig alg lines.
How to fix it
Most ACME clients have a key type setting. In certbot:
certbot renew --key-type ecdsa --elliptic-curve secp384r1 --force-renewal
Caddy uses ECDSA P-256 by default. Set key_type p384 in its tls block to change that. On AWS, ask Certificate Manager for EC_secp384r1; see AWS.
We ran the Caddy setting and got a P-384 key. We have not run the certbot or AWS commands since the recommendation changed.
Most servers can hold an ECDSA and an RSA certificate side by side and pick per client, if you still have old clients to serve.
Sources
- Let's Encrypt: Cryptographic Algorithm Plans and Recommendations (3 December 2026) fetched
- Filippo Valsorda: What to Make of the NSA Advisory fetched
- NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management (comparable strengths, table 2) fetched
- CA/Browser Forum Baseline Requirements (allowed key types, section 6.1.5) fetched
- RFC 9325: Recommendations for Secure Use of TLS and DTLS fetched
- TLS configuration guidelines (formerly Mozilla Server Side TLS) fetched
- weeb: terminal HTTP client with a site probe fetched
Changelog
- Changed the recommendation from P-256 to P-384, and from RSA 2048 to RSA 3072, after the NSA advisory and Let's Encrypt's new defaults. Raised the level to This quarter.
- Clarified the role of the certificate key.
- Added the strength table and the section on what a stronger key doesn't fix.
- First version.