Skip to content

How to override the ca-certificates bundle #66926

@henrysachs

Description

@henrysachs

Hey There,

in my company we have a lot of internal certificates that i want to share via an apk package as the wolfi os package is doing it themselves.

But when trying to add my certificates to the "default" ones I receive:

2025/09/19 14:35:03 INFO error during command execution: building "amd64" layer: installing apk packages: installing packages: installing certificates-stack (ver:0.0.1-r0 arch:x86_64): unable to install files for pkg certificates-stack: writing header for "etc/ssl/certs/ca-certificates.crt": packages map[ca-certificates-bundle:ca-certificates certificates-stack:certificates-stack] has conflicting file: "etc/ssl/certs/ca-certificates.crt"

so what would be the preferred way in wolfi to do so?

I found out about incert, but as i build the images myself i don't want to build them and than "recreate" the image just to add certificates.

What I'm trying to achieve with my solution is that all internal images that we build are able to just add the certificates by using that package.

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