Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Yukon Government certificate authority #2

Open
leeomara opened this issue Nov 17, 2020 · 0 comments
Open

Include Yukon Government certificate authority #2

leeomara opened this issue Nov 17, 2020 · 0 comments

Comments

@leeomara
Copy link
Member

It would be a benefit if services inside the container could trust/verify Yukon Government-signed certificates.

Could it be as simple as this?

# Install ca-certificates bundle inside the docker image and remove the temp folder
RUN apk update && apk add ca-certificates && rm -rf /var/cache/apk/*

# Copy certificate from your local machine to desired folder inside the image to be built.
COPY ./yukon-government.crt /usr/local/share/ca-certificates/yukon-government.crt

# Run the command update-ca-certificates to update new cert into corresponding folder
RUN update-ca-certificates

(from https://hackernoon.com/alpine-docker-image-with-secured-communication-ssl-tls-go-restful-api-128eb6b54f1f)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant