# Certificate strength: Ask for ECDSA P-384 at your next renewal. P-256 is no longer the safe default.

- Rating: This quarter (Schedule the change in your next round of maintenance.)
- Action: Request a fresh P-384 key. If you need RSA, use 3072 bits.
- Added: 2026-12-03
- Updated: 2026-12-03
- Web page: https://tldrtls.com/certificate-keys/

## 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](https://tldrtls.com/december-2026-advisory.md) 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](https://tldrtls.com/post-quantum-certificates.md) 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](https://tldrtls.com/certificate-automation.md).
- **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](https://tldrtls.com/emudhra-distrust.md).
- **Who else can get one.** Without [CAA records](https://tldrtls.com/caa-and-ct.md), 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

```sh
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](https://tldrtls.com/checking-tools.md)):

```sh
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:

```sh
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](https://tldrtls.com/aws.md).

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

1. [Let's Encrypt: Cryptographic Algorithm Plans and Recommendations (3 December 2026)](https://letsencrypt.org/2026/12/03/crypto-algorithms) (fetched 2026-12-03)
2. [Filippo Valsorda: What to Make of the NSA Advisory](https://words.filippo.io/nsa-advisory/) (fetched 2026-12-03)
3. [NIST SP 800-57 Part 1 Rev. 5: Recommendation for Key Management (comparable strengths, table 2)](https://csrc.nist.gov/pubs/sp/800/57/pt1/r5/final) (fetched 2026-12-03)
4. [CA/Browser Forum Baseline Requirements (allowed key types, section 6.1.5)](https://cabforum.org/working-groups/server/baseline-requirements/requirements/) (fetched 2026-12-03)
5. [RFC 9325: Recommendations for Secure Use of TLS and DTLS](https://www.rfc-editor.org/rfc/rfc9325.html) (fetched 2026-12-03)
6. [TLS configuration guidelines (formerly Mozilla Server Side TLS)](https://docs.tlsref.org/) (fetched 2026-12-03)
7. [weeb: terminal HTTP client with a site probe](https://github.com/klobucar/weeb) (fetched 2026-12-03)

## Changelog

- 2026-12-03: 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.
- 2026-12-03: Clarified the role of the certificate key.
- 2026-12-03: Added the strength table and the section on what a stronger key doesn't fix.
- 2026-12-03: First version.
