Debian: how to add a custom root ca certificate

Copy the certificate-file as *.crt-file to

/usr/local/share/ca-certificates/

Run the following command

update-ca-certificates

The ca-certificate should now be imported

For a better stucture, you can also create subfolders in /usr/local/share/ca-certificates and put the certificate files therein.

Leave a Reply

Your email address will not be published. Required fields are marked *