Self-Signed CA not accessible via X509Store
This seems due to the multi-stage Dockerfile.
You have installed the certificates in the publish
image, but not in the final
image. Also, base
doesn't include the newly installed certificates.
I would suggest to
- either manually copy the certificates from the
publish
image to thefinal
image - or perform the
dpkg-reconfigure ... update-ca-certificates
during thefinal
stage - or install the certificates in the
base
image
My preference would be option 1.