UPDATE-CA-CERTIFICATES(8) System Manager's Manual UPDATE-CA-CERTIFICATES(8)

# [NAME](#NAME)

update-ca-certificates - update /etc/ssl/certs and ca-certificates.crt

# [SYNOPSIS](#SYNOPSIS)

**update-ca-certificates**

# [DESCRIPTION](#DESCRIPTION)

This manual page documents briefly the **update-ca-certificates** command.

**update-ca-certificates** is a program that updates the directory /etc/ssl/certs to hold SSL certificates and generates ca-certificates.crt, a concatenated single-file list of certificates.

It reads the file /etc/ca-certificates.conf. Each line gives a pathname of a CA certificate under /usr/share/ca-certificates that should be trusted. Lines that begin with "#" are comment lines and thus ignored. Lines that begin with "!" are deselected, causing the deactivation of the CA certificate in question. Certificates must have a .crt extension in order to be included by update-ca-certificates.

Furthermore all certificates with a .crt extension found below /usr/local/share/ca-certificates are also included as implicitly trusted.

Before terminating, **update-ca-certificates** invokes **run-parts** on /etc/ca-certificates/update.d.

# [FILES](#FILES)

*/etc/ca-certificates.conf*

A configuration file.

*/etc/ssl/certs/ca-certificates.crt*

A single-file version of CA certificates. This holds all CA certificates that you activated in /etc/ca-certificates.conf.

*/usr/share/ca-certificates*

Directory of CA certificates.

*/usr/local/share/ca-certificates*

Directory of local CA certificates (with .crt extension).

# [SEE ALSO](#SEE_ALSO)

[**c\_rehash**(1)](/man/os/ca-certificates/c_rehash.1)

# [AUTHOR](#AUTHOR)

This manual page is based on the one written by Fumitoshi UKAI &lt;ukai@debian.or.jp&gt;, for the Debian project.

20 April 2003

---

Document: update-ca-certificates(8) from ca-certificates 20261020-r0 (Chainguard OS)
Source: https://gitlab.alpinelinux.org/alpine/ca-certificates
