Pages

Wednesday, October 16, 2024

How to add trusted CA certificate on CentOS/Fedora

Source: https://www.devdungeon.com/content/how-add-trusted-ca-certificate-centosfedora

Move the cert to proper location

Copy the certificate pem to /etc/pki/ca-trust/source/anchors

cp mycert.pem /etc/pki/ca-trust/source/anchors/mycert.pem

Update trusted certificates

After moving the cert to /etc/pki/ca-trust/source/anchors/, then run update-ca-trust

This will reload all of the trusted certificates, including the one you added.


Checking Certificate

curl --verbose https://vc01.home.uw.cz


No comments:

Post a Comment