Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 1.17 KB

README.md

File metadata and controls

16 lines (9 loc) · 1.17 KB

add-ca-certificates

.github/workflows/test.yml

add-ca-certificates updates the ca-certificates.crt bundle, often located at /etc/ssl/certs/ca-certificates.crt on linux distributions.

Contrary to update-ca-certificates, which can remove CA certificates from the bundle, add-ca-certificates only ever adds new certificates to the bundle.

This project came to be due to an issue in k3OS (#518), where running update-ca-certificates would cause all existing trusted ca-certificates to be removed from the bundle. This is an issue in many corporate environments, as the entreprise PKI should be trusted, but the public PKI should not be distrusted.

Usage

add-ca-certificates [--bundle path-to-the-bundle] [--local-path path/to/the/locally/trusted/certificates]

add-ca-certificate will now maintain the existing order of the cert bundle and insert the new certificates at the end, this will reduce the instability of the resulting cert bundle.