certbot
Issues ECDSA P-256 leaves and RSA-2048 account keys by default, keeps each lineage’s key type on renewal, and has no ML-DSA or MTC path until Let’s Encrypt ships MTCs.
- PyPI
certbot- Version cited
- 5.10.010 Nov 2026
- Downloads
- 1.2M/mo
Key exchange and encryption
Stopgap only
Server templates lack ML-KEM; PR open
Signatures and identity
Stopgap only
P-256 default; P-384/RSA-3072 by flag
What to do
Force-renew P-256 lineages as P-384 or RSA-3072 (--key-type ecdsa --elliptic-curve secp384r1 --force-renewal), set the same in cli.ini, and track #10838 to #10841 and #10706.
Since 1 Dec 2026 3 Dec 2026: ohemorange filed #10838 (P-384 default), #10839 and #10840 (ML-KEM nginx/Apache configs) citing Valsorda; community PR #10841 (Apache X25519MLKEM768 template) and a Let’s Encrypt forum thread the same day.
Details
Defaults#
- Since 2.0.0, new certificates use ECDSA
secp256r1private keys. --rsa-key-sizedefaults to 2048, so--key-type rsawithout a size silently issues RSA-2048, below the RSA-3072 stopgap.- “Existing certificates will continue to renew using their existing key type” unless you change it. Renewals do not change key type on their own.
- New ACME account keys are RSA-2048, which puts them in the “legacy” tier.
--elliptic-curveacceptssecp256r1,secp384r1andsecp521r1. Let’s Encrypt acceptssecp384r1and RSA 3072/4096 but rejectssecp521r1AGY.
The AGY report verified the defaults in certbot/_internal/constants.py:L63-65:
rsa_key_size=2048, elliptic_curve="secp256r1", key_type="ecdsa"
Sources: certbot docs, CLI source, client.py.
Recipe: move off P-256#
# Move an existing lineage to P-384 (or use --key-type rsa --rsa-key-size 3072)
certbot renew --cert-name example.com --key-type ecdsa --elliptic-curve secp384r1 --force-renewal
# /etc/letsencrypt/cli.ini — stopgap off P-256 (Let's Encrypt accepts secp384r1 and RSA 3072/4096; rejects secp521r1)
key-type = ecdsa
elliptic-curve = secp384r1
# Or RSA-3072:
# key-type = rsa
# rsa-key-size = 3072
certbot certonly --key-type ecdsa --elliptic-curve secp384r1 --force-renewal -d example.com
Response since 1 Dec 2026#
certbot is the one Python project with a direct post-advisory response. On 3 Dec 2026, contributor ohemorange filed three tasks:
- #10838, “Make 384 the default ECDSA curve size”. It cites Valsorda and asks whether “changing the default curve automatically updates the existing ECDSA certs’ curves”.
- #10839 and #10840, to update the nginx and Apache configs “to use ML-KEM handshakes”, noting that the TLSRef (formerly Mozilla) guidelines have been updated.
Community PR #10841 (certbot#10841, opened 3 Dec 2026) makes the Apache plugin pick an X25519MLKEM768-capable template on OpenSSL 3.5+. A matching Let’s Encrypt forum thread appeared the same day.
ML-DSA and MTCs#
- #10706 (
certbot#10706), “Track Let’s Encrypt MTC support + ML-DSA certificate requests”, is open. An ML-DSA key-type PR, #10707, was closed. - josepy has no EdDSA and no ML-DSA, so no Python ACME client can obtain an ML-DSA or MTC certificate today.
- Let’s Encrypt targets MTC staging in late 2026 and production in 2027. The AGY report’s medium-term plan (Q1 to Q4 2027) is to adopt Let’s Encrypt MTCs in certbot once operational (#10706) (details).
Downloads#
1,233,300 in the 30 days to 3 Dec 2026. pypistats excludes conda, distro packages and snaps, so certbot is undercounted.
Full discussion: Infrastructure
Sources cited on this page 9
- certbot docs eff-certbot.readthedocs.io
- CLI source github.com
- client.py github.com
- #10838 github.com
- #10839 github.com
- #10840 github.com
- PR #10841 github.com
- Let’s Encrypt forum thread community.letsencrypt.org
- #10706 github.com