Container image missing ca-certificates — SSL verification fails on every TLS connection #41
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/fedinesia#41
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Running fedinesia inside the published container fails immediately with an SSL certificate verification error:
The base image
ghcr.io/astral-sh/uv:debian-slimis a minimal Debian Slim image that does not include theca-certificatespackage. Thetruststorelibrary (used byhttpx2insidelongwei) delegates TLS certificate verification to the OS trust store. On Debian the trust store is provided byca-certificates; without ittruststorefinds no CA bundle and every HTTPS connection fails.Findings
truststoreon Linux looks for the CA bundle at/etc/ssl/certs/ca-certificates.crt. That path is populated by theca-certificatesDebian package, which is absent ondebian-slimminimal images.Plan of attack
apt-get install -y --no-install-recommends ca-certificateslayer toContainerfile(beforeWORKDIR).amnesia.pyorfedi.py— this is purely a container packaging fix.fix/issue-41-42-container-fixestogether with issue #42.