certifi
Ships no PQ roots; 3 of its 113 roots are P-256 and 20 are RSA-2048. Updating it changes CA material, not the negotiated key-exchange group.
- PyPI
certifi- Version cited
- 2026.11.20
- Downloads
- n/a
Key exchange and encryption
Not affected
CA bundle; no key exchange
Signatures and identity
Stopgap only
No PQ roots; 3 P-256 roots
What to do
Keep certifi updated to track emergency root distrusts and future MTC or PQ anchors. Use a custom CA bundle only if you must exclude P-256 or RSA-2048 roots before certifi or the OS stores change.
Since 1 Dec 2026 Nothing found as of 3 Dec 2026.
Details
certifi 2026.11.20 carries the 113 Mozilla roots. None is post-quantum, and 23 of them are RSA-2048 or P-256 (certifi cacert.pem).
| Key type | Roots | Share (AGY report) |
|---|---|---|
| RSA-4096 | 54 | 47.8% |
| RSA-2048 | 20 | 17.7% |
| ECDSA P-384 | 35 | 31.0% |
| ECDSA P-256 | 3 | 2.7% |
| ECDSA P-521 | 1 | 0.9% |
| ML-DSA / PQC | 0 | 0.0% |
The Claude report counts 74 RSA (20 of them RSA-2048) and 39 EC (3 P-256, 35 P-384, 1 P-521). The three P-256 roots are Amazon Root CA 3 (expires 2040), GlobalSign ECC Root CA - R4 (expires 2038) and e-Szigno Root CA 2017 (expires 2042) AGY.
What it means#
- Updating certifi changes CA material, not the selected key-exchange group (ASTRA report). Key exchange depends on the interpreter’s OpenSSL (TLS page).
- Valsorda’s goal that “auth is secure only once you don’t have any vulnerable anchors” would require a certifi or OS-store change. None has been announced, so Python users could only pre-empt it with a custom CA bundle.
- The realistic WebPKI PQ route is Merkle Tree Certificates (Cloudflare Q1 2027, Let’s Encrypt 2027, Chrome’s quantum-resistant root store around Q3 2027). Watch for certifi PQ roots or pruning (certificates).
- The AGY report advises keeping certifi continuously updated, or using truststore or OS stores, to track emergency root distrusts and upcoming MTC or PQC anchors.
- httpx builds its default context with
cafile=certifi.where().
Full discussion: TLS and interpreters