Add system trusted certificates

Got a new Synology last night to use Surveillance Station on. I can’t use LetsEncrypt for this machine so I signed a certificate with my internal CA. That CA is trusted by the Linux OS, and the DSM webpage begins to load with curl:


I also reloaded the Homeassistant service after running update-ca-certificates. But I am still getting “Failed to connect” in Home Assistant when setting up the installation and it is throwing a certificate error in the logs:

I’m running Core 2024.7.2 in a venv with Python3.12.3. Do I need to recreate the venv or something?

Turns out there is a CA store at
<virtual_env_path>/lib/python<version>/site-packages/certifi/cacert.pem
Remains to be seen if custom CAs added to the system at the time your pyenv is created are added but I was able to append my CA to the end of that and it works like a charm!