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

Add support to build images with self signed or internal certificates #34

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

haemka
Copy link

@haemka haemka commented Sep 15, 2022

Allows to build the image with self signed or internal certificates if needed. This change should not break anything if no custom certificates are used.

The changes in the Dockerfile allows to save trusted x509 certificates (.crt) files along the Dockerfile and rebuild the image. The certificate files will be copied into the image and the OS's trust store will be updated.

The change in the docker-entrypoint.sh ensures that requests are validated against the CA certificates of the images OS instead of the Mozilla CA bundle from the certifi Python package (which is the default for current requests versions).

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

Successfully merging this pull request may close these issues.

1 participant