How to Add a Self-Sign Certificate to Trusted Certificate on Linux?
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-certificatessudo update-ca-certificatesCentOS/RHEL
x
#install ca-certificatessudo yum install -y ca-certificates #install certificatecp -f self-sign.crt /etc/pki/ca-trust/source/anchors/sudo update-ca-trust enablesudo update-ca-trust extractWas this page helpful?