Install root certificate

how to add a root certificate to Ubuntu linux

Ensure the certificate is in PEM format, ie. it starts with:
-----BEGIN CERTIFICATE-----

sudo cp my-certificate /usr/local/share/ca-certificates/my.crt
sudo update-ca-certificates

Ensure the certificate has a .crt file extension