Skip to content

CA Root Certificate Guide

This guide explains how to download and install CA root certificates so that your system or browser trusts certificates issued by this CA.

A CA (Certificate Authority) root certificate is the root node of a certificate trust chain. When you create a private CA and use it to issue server certificates, clients need to trust this CA root certificate to automatically trust all certificates it issues.

  1. Go to Console -> Self-signed Certificates -> CA Management
  2. Find the CA you need to download, click the Download button
  3. In the popup dialog, click Download to save the xxx-ca.crt file
  1. Double-click the downloaded .crt file
  2. In the “Keychain Access” popup, choose to add to the System keychain
  3. Find the newly added certificate and double-click to open it
  4. Expand the Trust section
  5. Change “When using this certificate” to Always Trust
  6. Close the window and enter your password to confirm
Terminal window
sudo security add-trusted-cert -d -r trustRoot \
-k /Library/Keychains/System.keychain \
~/Downloads/xxx-ca.crt

After installation, you can verify with the following:

Terminal window
# Test with curl (assuming the server certificate was issued by this CA)
curl https://your-server.local
# If there's no error, the CA is trusted

Browser still shows “Not Secure” after installation?

Section titled “Browser still shows “Not Secure” after installation?”
  1. Verify the certificate is correctly installed in the system trust store
  2. Restart the browser
  3. Check if the server certificate’s domain matches the access address
  4. Firefox users need to import separately into the browser
  • macOS: Open Keychain Access, find the certificate and delete it
  • Windows: Run certmgr.msc, delete from “Trusted Root Certification Authorities”
  • Linux: Delete the corresponding .crt file, then run update-ca-certificates or update-ca-trust