openssl default folder and files

When you install openssl it has a default folder where it stores keys, certificates, and the configuration file. On Ubuntu, you can find it here:

$ ls -lh /usr/lib/ssl total 4,0K lrwxrwxrwx 1 root root 14 Nov 6 2022 certs -> /etc/ssl/certs drwxr-xr-x 2 root root 4,0K Nov 6 2022 misc lrwxrwxrwx 1 root root 20 Oct 27 2022 openssl.cnf -> /etc/ssl/openssl.cnf lrwxrwxrwx 1 root root 16 Nov 6 2022 private -> /etc/ssl/private

Some of these are symlinked to the /etc/ssl folder:

$ ls -lh /etc/ssl/ total 32K drwxr-xr-x 3 root root 12K Nov 6 2022 certs -rw-r--r-- 1 root root 13K Oct 19 09:46 openssl.cnf drwx--x--- 2 root ssl-cert 4,0K Nov 6 2022 private

Links to this page: