UPDATE-CA-CERTIFICATES(8)
๐ UPDATE-CA-CERTIFICATES(8) ๐
okay so this is the system manager's manual page for update-ca-certificates ๐
bestie, let's get into it ๐ซถ
โจ NAME โจ
update-ca-certificates is the thing that updates /etc/ssl/certs and ca-certificates.crt ๐
๐ง SYNOPSIS ๐ง
update-ca-certificates [options]
๐ DESCRIPTION ๐
This manual page documents briefly the update-ca-certificates command. Quick and easy ๐ธ
update-ca-certificates is a program that manages the collection of TLS certificates for the local machine and generates ca-certificates.crt ๐ ca-certificates.crt is a single-file of concatenated certificates. The collection of individual certificates is stored at /etc/ssl/certs. It's giving organized โจ
The program reads the configuration 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, so you can leave yourself little notes ๐ Lines that begin with "!" are deselected, which deactivates the CA certificate in question. Bye bye, cert ๐
Certificates must be in PEM format and 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 and implicitly trusted. Main character energy ๐
To add one or more certificates to the machine, copy the certificates in PEM format with the *.crt extension to /usr/local/share/ca-certificates. There should be one certificate per file, and not multiple certificates in a single file. Then run update-ca-certificates to merge the new certificates into the existing machine store at /etc/ssl/certs. Periodt ๐
Before terminating, update-ca-certificates invokes run-parts on /etc/ca-certificates/update.d and calls each hook with a list of certificates: those added are prefixed with a +, those removed are prefixed with a -. So you always know what changed ๐โจ
๐ OPTIONS ๐
A summary of options is included below. Here's the tea ๐
-h,--helpโ Show summary of options. Your go-to when you forget everything ๐ซ-v,--verboseโ Be verbose. Outputopenssl rehash. Chatty mode, activated ๐ฃ๏ธ-f,--freshโ Fresh updates. Remove symlinks in/etc/ssl/certsdirectory. Clean slate, bestie ๐งผ--certsconfโ Change the configuration file. By default, the file/etc/ca-certificates.confis used. Swap in your own config if you're feeling extra ๐--certsdirโ Change the certificate directory. By default, the directory/usr/share/ca-certificatesis used. ๐--localcertsdirโ Change the local certificate directory. By default, the directory/usr/local/share/ca-certificatesis used. Your own certs, your own rules ๐ฆ--etccertsdirโ Change the/etccertificate directory. By default, the directory/etc/ssl/certsis used. ๐ธ
๐ FILES ๐
/etc/ca-certificates.confโ A configuration file. The boss of the whole operation ๐/etc/ssl/certs/ca-certificates.crtโ A single-file version of CA certificates. This holds all CA certificates that were activated in/etc/ca-certificates.conf. The big bundle ๐/usr/share/ca-certificatesโ Directory of CA certificates provided by the distribution. Distro-approved vibes โจ/usr/local/share/ca-certificatesโ Directory of local CA certificates, with.crtextension, provided by the user. Your personal collection ๐
๐ฆ SEE ALSO ๐ฆ
openssl(1)โ go check it out, it's iconic ๐ฅ
๐ซถ AUTHOR ๐ซถ
This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others). Huge shoutout to them ๐
Byeee, bestie! ๐ This page is from the System Manager's Manual, manual name UPDATE-CA-CERTIFICATES(8), dated 20 April 2003. Stay secure and keep your certs fresh ๐ โจ๐ง
๐ฆ where this page comes from
- debian bookworm: ca-certificates 20250419~deb12u1
- debian bookworm: ca-certificates 20250419~deb12u2 ยท GPL-2.0-or-later
- debian trixie: ca-certificates 20250419 ยท GPL-2.0-or-later
- debian trixie: ca-certificates 20250419+deb13u1 ยท GPL-2.0-or-later
- ubuntu noble: ca-certificates 20240203 ยท GPL-2.0-or-later
- ubuntu noble: ca-certificates 20260601~24.04.1
- ubuntu noble: ca-certificates 20260816ubuntu0.24.04.1 ยท GPL-2.0-or-later
- ubuntu questing: ca-certificates 20250419
- ubuntu questing: ca-certificates 20260601~25.10.1 ยท GPL-2.0-or-later
- ubuntu resolute: ca-certificates 20260223 ยท GPL-2.0-or-later
- ubuntu resolute: ca-certificates 20260601~26.04.1
- ubuntu resolute: ca-certificates 20260816ubuntu0.26.04.1 ยท GPL-2.0-or-later
- ubuntu stonking: ca-certificates 20260816 ยท GPL-2.0-or-later
- ubuntu stonking: ca-certificates 20260816ubuntu0.26.10.1 ยท GPL-2.0-or-later
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms