HOWTO
CERTIFICATES
ADD YOUR OWN CA TO LINUX

Published: 20220203

Tested on:
OS: Ubuntu 20.04.3 (amd64)

-

With these few steps you can install your own CA certificate system-wide in Linux. This doesn't necessarily affect the web browser, but it helps other applications, like when you need to connect with VMware Workstation Pro to a VMware ESXi server.

Here's how you add your own CA:

$ sudo cp yourCA.crt /usr/local/share/ca-certificates/
$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
$

Here's how you delete your own CA:

$ sudo rm /usr/local/share/ca-certificates/yourCA.crt
$ sudo update-ca-certificates
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
$

I know that "0 added, 0 removed" is confusing, but I have verified and this works.