Knowledge Base
v5.9.0
Search this version
How to Add a Self-Sign Certificate to Trusted Certificate on Linux?
Copy Markdown
Open in ChatGPT
Open in Claude
This is the guideline to adding a self-sign certificate to trusted certificate on Linux
For example We have a self-sign certificate name: self-sign.crt
Ubuntu/Debian
sudo cp -f self-sign.crt /usr/local/share/ca-certificates
sudo update-ca-certificates
CentOS/RHEL
#install ca-certificates
sudo yum install -y ca-certificates
#install certificate
cp -f self-sign.crt /etc/pki/ca-trust/source/anchors/
sudo update-ca-trust enable
sudo update-ca-trust extract
Last updated on
Was this page helpful?
Next to read:
How to turning the performance of PostgreSQL servernull
Knowledge Base
Knowledge Base
Configuration & Setup
Error & Troubleshooting