Skip to content

Include Yukon Government certificate authority #2

Description

@leeomara

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions