Install a CA Certificate in Ubuntu

Trying to use CURL to one of the certificates signed by my own CA as described in a older post I realized that I needed to install it to Ubuntu, not just the browser, so in order to do this

Copy the CA Certificate on /usr/local/share/ca-certificates make sure that it’s extension it’s .crt

and then run the command to update it.
sudo update-ca-certificates