Skip to content

How to add a CA certificate? #434

Answered by TuhinNair
Krahos asked this question in Q&A
Feb 1, 2022 · 3 comments · 3 replies
Discussion options

You must be logged in to vote

Your container image needs to have the common CA certificates in order for you to make requests using TLS.

If using one of those thin base images you'll need something like this in your Dockerfile: (Assuming debian based image)
RUN apt-get install -y --no-install-recommends ca-certificates
RUN update-ca-certificates

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@Krahos
Comment options

Answer selected by rcoh
Comment options

You must be logged in to vote
2 replies
@rcoh
Comment options

rcoh Apr 3, 2023
Collaborator

@markgoddard
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants