mirror of
https://github.com/rommapp/romm.git
synced 2026-11-29 10:01:00 +01:00
OIDC_TLS_CACERTFILE was handed to httpx as verify=<path>, which builds a context trusting only that file. A directory needed OpenSSL hashed names, and DER or .p7b bundles failed to load, so two-tier PKI setups got a 500 on SSO. Build an SSL context from certifi and the system store, then add every certificate found in the file or directory (PEM, DER, or PKCS#7). Fixes #1589 Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>