place the certificate to be trusted (in PEM format) in /etc/pki/ca-trust/source/anchors/

1
2
3
cp xxx.pem /etc/pki/ca-trust/source/anchors/
update-ca-trust enable
sudo update-ca-trust