mampfes / ha_epex_spot

Adds EPEX Spot data to Home Assistant.
MIT License
141 stars 21 forks source link

SSL error #89

Closed pabe40 closed 9 months ago

pabe40 commented 9 months ago

EPEX spot integration failed to setup: Cannot connect to host www.epexspot.com:443 '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))

pabe40 commented 9 months ago

Issue linked to core update to core-2024.1.2 ? Or linked to Epex Spot update : I have version 2.3.0 ?

ChrisvanChip commented 9 months ago

+1, having this too. Thought it was my configuration but couldn't find anything.

ChrisvanChip commented 9 months ago

Did some digging. Looks like https://www.epexspot.com renewed their SSL certificate with GlobalSign for a year.

This certificate is not trusted in all browsers and needs a root certificate to be installed. Another option is to run aiohttp with verify_ssl=False, which I guess I'll be doing in a fork. Encryption doesn't really matter to me on fetching public data.

tricksel commented 9 months ago

Same here.

mampfes commented 9 months ago

Fixed in release 2.3.1

pabe40 commented 9 months ago

Fort my info : Which CA store is used by epex spot? Is it relying on the core of HA? Which location on filesysteem?

mampfes commented 9 months ago

Epex spot doesn't use an own ca store. It relies on what Python/HA provides.