• Samueru_sama@programming.dev
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    6 days ago

    Most distros have /etc/ssl/certs/ca-certificates.crt, sometimes it is a symlink but that location is there in ubuntu, alpine, fedora and arch.

    edit: Also you can usually change this location with an env variable.

      • Samueru_sama@programming.dev
        link
        fedilink
        English
        arrow-up
        3
        ·
        6 days ago

        That’s the real location of the certs, but once again they usually make a symlink in /etc/ssl/certs/ca-certificates.crt

        One library that is problematic is p11-kit, this one usually comes with a different path to the certs hardcoded and does not respect env variables unless it is compiled with a specific flag which no distro uses.

        So I had to do this hack to fix that library.