Self-Signed CA not accessible via X509Store Self-Signed CA not accessible via X509Store docker docker

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

  1. either manually copy the certificates from the publish image to the final image
  2. or perform the dpkg-reconfigure ... update-ca-certificates during the final stage
  3. or install the certificates in the base image

My preference would be option 1.