Files
vault-para/000-inbox/clippings/2023/03/Adding and trusting a Certificate Authority (CA) in Fedora – Antonio Maradiaga – Collection of things I'm interested in working on.md
2025-12-29 13:38:39 +08:00

1.5 KiB
Raw Permalink Blame History

page-title, url, date
page-title url date
Adding and trusting a Certificate Authority (CA) in Fedora Antonio Maradiaga Collection of things I'm interested in / working on https://ajmaradiaga.com/Adding-trusting-CA-Fedora/ 2023-03-30 16:40:18

Adding and trusting a Certificate Authority (CA) in Fedora

When running Citrix on Fedora, I was getting an error message similar to the following: “SSL Error 61: You have not chosen to trust Certificate Authority’”. Basically, the CA (certificate authority) cert was missing in my operating system. To fix this, we need to do the following:

  1. Find the CAs certificate online.
  2. Ensure that the certificate is in PEM format (if not, convert it to PEM).
  3. Move the PEM file to /etc/pki/ca-trust/source/anchors.
  4. Update the CA trust in the operating system.

In the example below, I add and trust GoDaddys root G2 certificate:

# Download GoDaddy - G2 root certificate
wget https://ssl-ccp.godaddy.com/repository/gdroot-g2.crt

# Convert CRT to PEM
openssl x509 -in gdroot-g2.crt -out gdroot-g2.pem -outform PEM

# Move the PEM cert and update the CA trust
sudo mv gdroot-g2.pem /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust

References:

Written on December 3, 2019