I always googled the exact way to install certificates on Ubuntu local machine, so I left a note for my reference.
http://manpages.ubuntu.com/manpages/jammy/man8/update-ca-certificates.8.html
/usr/share/ca-certificates
. The extension should be .crt
./etc/ca-certificates.conf
.sudo update-ca-certificates
.