_______ ____ ____ __ __ ____ __ ______ ______ /_ __// __// __// /_/ // _ / / / / __ // ____/ / / / __// /_ / __ // _ < / /_ / /_/ // /_ / /_/ /___//___//_/ /_//____//___//_____//_____/ techblog.koponen.se [ / ] [ howto ] [ reviews ] [ webapps ] [ youtube ] [ links ] [ about ] -------------------------------------------------------------------------
techblog.koponen.se [ / ] [ howto ] [ reviews ] [ webapps ] [ youtube ] [ about ] [ links ] -------------------------------------
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.