3.2. Adding new certificates to the system-wide truststore
You can add new certificates to the system-wide truststore so that all cryptographic applications running on the system recognize them as trusted.
To acknowledge applications on your system with a new source of trust, add the corresponding certificate to the system-wide store and use the update-ca-trust command.
Even though the Mozilla Firefox browser can use an added certificate without a prior execution of update-ca-trust, enter the update-ca-trust command after every CA change. Also note that browsers, such as Mozilla Firefox and Chromium, cache files, and you might have to clear your browser’s cache or restart your browser to load the current system certificate configuration.
Prerequisites
-
The
ca-certificatespackage is present on the system.
Procedure
Add a certificate in the simple PEM or DER file formats to the list of CAs trusted on the system, copy the certificate file to the
/usr/share/pki/ca-trust-source/anchors/or/etc/pki/ca-trust/source/anchors/directory, for example:# cp <~/certificate-trust-examples/Cert-trust-test-ca.pem> /usr/share/pki/ca-trust-source/anchors/Update the system-wide truststore configuration, use the
update-ca-trustcommand:# update-ca-trust extract