Install CA certificate on CentOS/RHEL

Posted by Xiping Hu on April 1, 2023
  1. Install ca-certificates
    1
    
    yum install ca-certificates
    
  2. Enable the dynamic CA configuration feature
    1
    
    update-ca-trust enable
    
  3. Put your CA.crt in /etc/pki/ca-trust/source/anchors/
    1
    
    vim /etc/pki/ca-trust/source/anchors/hxp-ca.crt
    
  4. Update CA
    1
    
    update-ca-trust extract
    
  5. Verify
    1
    
    curl https://speedtest.hxp.plus/
    

References

https://jermsmit.com/install-a-ca-certificate-on-red-hat-enterprise-linux/