Skip to content

Trust Anchor Installation for Linux⚓︎


Source: https://gitlab.com/dpremy/dot-misc/-/blob/master/cheatsheets/pki_cheatsheet.md

RHEL Distros⚓︎

Bash
1
2
3
4
5
6
# RHEL/CentOS 6+
cd /usr/share/pki/ca-trust-source/anchors
sudo curl -o INTERMEDIATE-CA.crt http://pki.site.com/INTERMEDIATE-CA.pem
sudo curl -o ROOT.crt http://pki.site.com/ROOT.pem
sudo curl -o DigiCertSHA2SecureServerCA.crt.pem https://dl.cacerts.digicert.com/DigiCertSHA2SecureServerCA.crt.pem
sudo update-ca-trust extract

Debian Distros⚓︎

Bash
1
2
3
4
5
6
# Debian 9+
cd /usr/local/share/ca-certificates
sudo curl -o INTERMEDIATE-CA.crt http://pki.site.com/INTERMEDIATE-CA.pem
sudo curl -o ROOT.crt http://pki.site.com/ROOT.pem
sudo curl -o DigiCertSHA2SecureServerCA.crt.pem https://dl.cacerts.digicert.com/DigiCertSHA2SecureServerCA.crt.pem
sudo update-ca-certificates -v