PKI Tutorials - Herong's Tutorial Examples - v2.34, by Herong Yang
update-ca-certificates Command on Ubuntu
This section describes how to use the update-ca-certificates Command to manage trusted root CA certificates on Ubuntu computers.
If you are using Ubuntu computers, you should use the update-ca-certificates command to manage trusted root CA certificates.
The update-ca-certificates command uses the following files and directories:
Add a new trusted root CA certificate - Save the certificate with file extension of .crt and follow these steps:
# copy the root certificate to input directory herong$ sudo cp new-root-cert.crt /usr/share/ca-certificates/ # add the root certificate to root certificate list as trusted herong$ sudo vi /etc/ca-certificates.conf ... new-root-cert.crt # update the root certificate bundle file sudo update-ca-certificates
Disable an existing root CA certificate - Follow these steps:
# mark root certificate as disabled herong$ sudo vi /etc/ca-certificates.conf ... !old-root-cert.crt # update the root certificate bundle file sudo update-ca-certificates
Table of Contents
Introduction of PKI (Public Key Infrastructure)
Introduction of HTTPS (Hypertext Transfer Protocol Secure)
Using HTTPS with Google Chrome
Using HTTPS with Mozilla Firefox
Using HTTPS with Microsoft Edge
Using HTTPS with IE (Internet Explorer)
Android and Server Certificate
Windows Certificate Stores and Console
RDP (Remote Desktop Protocol) and Server Certificate
macOS Certificate Stores and Keychain Access
►Linux Certificate Stores and Tools
Root CA Certificate Location on Linux
►update-ca-certificates Command on Ubuntu
update-ca-trust Command on CentOS
"certutil" for NSS Certificate Databases on Linux
Perl Scripts Communicating with HTTPS Servers
PHP Scripts Communicating with HTTPS Servers
Python Scripts Communicating with HTTPS Servers
Java Programs Communicating with HTTPS Servers
.NET Programs Communicating with HTTPS Servers
CAcert.org - Root CA Offering Free Certificates
PKI CA Administration - Issuing Certificates
Comodo Free Personal Certificate
Digital Signature - Microsoft Word
Digital Signature - OpenOffice.org 3