Add CA Certificates in Debain/Ubuntu

Steps below list how to add certificates in debian based distribution

Make sure your certificate is in PEM format (starting with -----BEGIN CERTIFICATE-----) and has the file extension .crt (not .cer or .pem).

1. Copy your certificates to the following folder

/usr/local/share/ca-certificates

2. Run the following command to update the certificate bundle

sudo update-ca-certificates 

3. That's it.