Debian: how to add a custom root ca certificate

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


Run the following command


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.