quick-docs/modules/ROOT/pages/_partials/proc_adding-new-certificates.adoc
Renich Bon Ciric 99111b8c3a Removed any mention /usr
It was suggested to install new certificates in `/usr` and this contradicts what the FHS 3 suggests.
2022-05-05 20:05:33 +00:00

20 lines
916 B
Text

[id='proc_adding-new-certificates']
= Adding New Certificates
To 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 `/etc/pki/ca-trust/source/anchors/` directory, for example:
[subs="+quotes,macros"]
----
# cp _~/certificate-trust-examples/Cert-trust-test-ca.pem_ _/etc/pki/ca-trust/source/anchors/_
----
To update the system-wide trust store configuration, use the [command]`update-ca-trust` command:
----
# update-ca-trust
----
[NOTE]
====
While the Firefox browser is able to use an added certificate without executing [command]`update-ca-trust`, it is recommended to run [command]`update-ca-trust` after a CA change. Also note that browsers, such as Firefox, Epiphany, or Chromium, cache files, and you might need to clear the browser's cache or restart your browser to load the current system certificates configuration.
====