Context
After following these instructions on how to add a root ca ca.crt
to Ubuntu, I was wondering how I can verify in Bash whether the root CA is indeed successfully added as trusted.
In particular because browsers, like Firefox, have their own set of trusted CA's, meaning I cannot visit a local url with an ssl certificate signed with the root ca that is added to the system, to verify the root ca recognises it.
Question
How can one, using bash, verify a root ca named ca.crt
is added to the trusted list of certificates in Ubuntu, using a self-signed public SSL certificate named cert.pem
?