Can anyone point me to a good tutorial on installing a root certificate on Ubuntu?
I've been provided with a .crt
file. I gather that need to create a directory at /usr/share/ca-certificates/newdomain.org
and place the .crt
in that directory. Beyond that I'm not sure how to proceed.
Best Answer
Installing a root/CA Certificate
Given a CA certificate file
foo.crt
, follow these steps to install it on Ubuntu:Create a directory for extra CA certificates in
/usr/share/ca-certificates
:Copy the CA
.crt
file to this directory:Let Ubuntu add the
.crt
file's path relative to/usr/share/ca-certificates
to/etc/ca-certificates.conf
:To do this non-interactively, run:
In case of a
.pem
file on Ubuntu, it must first be converted to a.crt
file: