How to Import a CA Certificate in Various Linux Distributions
On this page
Importing a CA Certificate in RHEL/CentOS #
-
Copy the Certificate:
-
Update the CA Trust:
Importing a CA Certificate in Ubuntu/Debian #
-
Copy the Certificate:
-
Update the CA Trust:
Importing a CA Certificate in Fedora #
-
Copy the Certificate:
-
Update the CA Trust:
Importing a CA Certificate in SUSE/OpenSUSE #
-
Copy the Certificate:
-
Update the CA Trust:
Importing a CA Certificate in Arch Linux #
-
Copy the Certificate:
-
Update the CA Trust:
Importing a CA Certificate in Alpine Linux #
-
Install the
ca-certificatespackage: -
Copy the Certificate:
-
Update the CA Trust:
Verification #
To verify that the CA certificate has been correctly imported and trusted, you can use the OpenSSL tool. Run the following command:
Replace /etc/ssl/certs with the appropriate directory if necessary. This command helps ensure that your system recognizes the new certificate and includes it in its list of trusted CAs.