Skip to content

Add support for custom certificate packages#2105

Draft
codysoyland wants to merge 1 commit intochainguard-dev:mainfrom
codysoyland:bundle-support
Draft

Add support for custom certificate packages#2105
codysoyland wants to merge 1 commit intochainguard-dev:mainfrom
codysoyland:bundle-support

Conversation

@codysoyland
Copy link

  • Extend installCertificates to collect certificate files from installed APK packages that declare Provides: custom-ca-certificates, in addition to inline certificates from the image config
  • Certificates from qualifying packages are read from the filesystem, parsed, and appended to the CA bundle (ca-certificates.crt) and Java truststores, replacing what update-ca-certificates post-install scripts would normally do
  • When no existing CA bundle is present, the primary bundle is now created automatically if certificates need to be installed

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