# requests SSLError: CERTIFICATE_VERIFY_FAILED because certifi is outdated (missing a new root CA)

**Code:** `certifi` · **Category:** SSL / TLS · **Seen on:** Python, SSL

An old `certifi` bundle doesn't contain the root that now signs the site's certificate.

## Meaning

Update `certifi` and `requests`, avoid pinning ancient versions in `requirements.txt`, and check for `REQUESTS_CA_BUNDLE`/`CURL_CA_BUNDLE` overrides pointing at an old file. The Let's Encrypt root change (ISRG Root X1) broke many old bundles.

## Common causes

- Old pinned `certifi`
- Container image with stale packages
- REQUESTS_CA_BUNDLE pointing at an old bundle
- Python 2/old requests
- Corporate proxy root missing

## Quick fix

1. `pip install -U certifi requests`
2. Check `python -m certifi` path and env overrides
3. Rebuild images regularly

## Detailed fix by platform

### Shell

1. 

```bash
pip install -U certifi requests
python -c "import certifi; print(certifi.where())"
```


## How to diagnose

1. **certifi** — Current?
2. **Env override** — Present?
3. **Image** — Stale?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/ssl/python-requests-certifi-outdated-ca-bundle)
