Assistance using paketo-buildpacks/ca-certificates #358
ajpenner
started this conversation in
Builder Team
Replies: 1 comment 2 replies
-
|
It appears there may be a conflict between packs. When I remove When I use |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I create a new image using:
I have populated a directory ca-certificates/binding/ with an mkcert generated rootCA: "mkcert_development_CA_338979581804334316949274517146541300916.pem" and a file
typewith contents:I start the container using (inpired by https://paketo.io/docs/howto/configuration/#ca-certificates):
docker run -d -v "$(pwd)/ca-certificates/binding/:/bindings" --env SERVICE_BINDING_ROOT=/bindings my_image:latest -name my_containerWhen I look at the logs I see the expected line "Added 1 additional CA certificate(s) to system truststore" so the system has picked up my certificate.
When I enter the container
docker exec -it my_container bashInside /tmp/ca-certificates3161142815/ I see a symlink to my certificate, however when I run
envbut do not see the expected SSL_CERT_DIR, which should contain the certificate symlink (if I understand the readme correctly). I also do not see the environment variable SSL_CERT_FILE in the system.When I manually set
export SSL_CERT_DIR=/tmp/ca-certificates3161142815/I find my system behaves as expected so the certificate is fine,I feel like I missed something obvious in the setup. Anyone seen this kind of issue before?
Beta Was this translation helpful? Give feedback.
All reactions