Freebox: SSL certificate verification failure inside Hass, not outside

Hi everyone,

I have an issue with the Freebox component I wrote a while ago. I made some changes to the library used for connecting to the router to better handle certificate validation. The changes work on my dev environment, but not in my deployed Hass, where the SSL handshake fails with a CERTIFICATE_VERIFY_FAILED error.

My Home Assistant runs in a docker container (official image, latest version, 0.73.1 currently); if I try to run a simple test script from the inside of the container, the connection succeeds, but it fails in the hass component. I tried injecting a session obtained with async_create_client_session, just in case there was some specific handling of certificates in hass, but with no success.

Do you have any idea what could be the issue?

Cheers,

Luc

Nevermind, it turned out I had a leftover Python module installed somewhere that was hiding the new one, after cleaning everything, all seems good.