How to make Ubuntu trust your own self-signed Certificate Authority (CA)
sudo mkdir /usr/share/ca-certificates/extra
sudo cp cacert.pem /usr/share/ca-certificates/extra/certificate.crt
sudo dpkg-reconfigure ca-certificates
#select your ca cert
sudo update-ca-certificates
Related
- How to Create OpenSSL CA (Certificate Authority) for Dev/Test Purposes