# SSL: CERTIFICATE\_VERIFY\_FAILED

**URL:** <https://forum.ecmwf.int/t/ssl-certificate-verify-failed/12256>\
**Category:** API\
**Tags:** era5\
**Created:** [26 March 2025 08:18 UTC](https://forum.ecmwf.int/t/ssl-certificate-verify-failed/12256 "2025-03-26T08:18:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafael\_Valle](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/r/5f9b8f/32.png) [@Rafael\_Valle](https://forum.ecmwf.int/u/Rafael_Valle)\
**Post date:** [26 March 2025 08:18 UTC](https://forum.ecmwf.int/t/ssl-certificate-verify-failed/12256/1 "2025-03-26T08:18:09Z")

</div>

I keep getting this error:

SSLError: HTTPSConnectionPool(host=‘cds.climate.copernicus.eu’, port=443): Max retries exceeded with url: /api/retrieve/v1/processes/reanalysis-era5-pressure-levels (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE\_VERIFY\_FAILED] certificate verify failed: self-signed certificate in certificate chain (\_ssl.c:1007)’)))

I keep seeing that the url changed by getting rid of the beta part, but i nver had that. I just tried to do it today for the first time. I have no problem loading in the cdsapi module or anything. Anyone have any solutions?

---

<div class="post-metadata">

**Author:** ![Emma](https://forum.ecmwf.int/letter_avatar_proxy/v4/letter/e/57b2e6/32.png) [@Emma](https://forum.ecmwf.int/u/Emma)\
**Post date:** [26 March 2025 14:45 UTC](https://forum.ecmwf.int/t/ssl-certificate-verify-failed/12256/2 "2025-03-26T14:45:38Z")

</div>

Hi,

The CDS API url is documented here: [CDSAPI setup - Climate Data Store](https://cds.climate.copernicus.eu/how-to-api) and you can find more information on error messages can be found in our knowledge base article: [Common Error Messages for CDS Requests - Copernicus Knowledge Base - ECMWF Confluence Wiki](https://confluence.ecmwf.int/display/CKB/Common+Error+Messages+for+CDS+Requests)

You might be seeing an `SSLError` due to your system or network not trusting the SSL certificate chain used by the CDS API server.

This sometimes happens when:

- You’re behind a **proxy** that intercepts SSL traffic.
- Your Python environment is using outdated or missing **CA certificates**.

If you’re using Python, can you try to **update your certifi package (for CA certificates):**

```auto
pip install --upgrade certifi

```

===============================================================

Let us know if you’re still seeing issues!  
Kind regards,  
Emma
