quick-docs/modules/ROOT/pages/_partials/proc_adding-new-certificates.adoc

21 lines
916 B
Text
Raw Normal View History

2018-01-21 14:35:53 +00:00
[id='proc_adding-new-certificates']
2017-12-14 10:38:29 +00:00
= 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:
2017-12-14 10:38:29 +00:00
2018-01-21 14:35:53 +00:00
[subs="+quotes,macros"]
2017-12-14 10:38:29 +00:00
----
# cp _~/certificate-trust-examples/Cert-trust-test-ca.pem_ _/etc/pki/ca-trust/source/anchors/_
2017-12-14 10:38:29 +00:00
----
To update the system-wide trust store configuration, use the [command]`update-ca-trust` command:
2017-12-14 10:38:29 +00:00
----
# 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.
2017-12-14 10:38:29 +00:00
====