Adding a certificate to the system store
Jump to navigation
Jump to search
Debian[edit]
Fortunately it is straightforward, since you can tell Ubuntu/Debian to update its root certificate list to include any certificates stored in the /usr/local/share/ca-certificates directory.
- Upload the certificate to /usr/local/share/ca-certificates
- anything with a .crt extension is automatically trusted
- if desired, you can create subdirectories to organize certificates
- Update the certificate bundle
sudo update-ca-certificates
CentOS[edit]
The process is similar, but (of course) with different locations and commands ...
- Upload certificates to /etc/pki/ca-trust/source/anchors
- Update the certificate bundle
sudo update-ca-trust