Location of OpenSSL directory
I'm trying to install a new SSL certificate via Let's Encrypt and I'm not sure where the OpenSSL directory is when accessing via SSH. Step 2 in the instructions I'm using at GetHTTPSforfree.com list the directory as /etc/ssl/openssl.cnf which does not exist. I dug around and noticed there is an SSL directory along with a csrs directory but was unsure where I would find the openssl.cnf file to run this command:
openssl req -new -sha256 -key domain.key -subj "/" \
-reqexts SAN -config <(cat /etc/ssl/openssl.cnf \
<(printf "[SAN]\nsubjectAltName=DNS:foo.com,DNS:www.foo.com"))
openssl req -new -sha256 -key domain.key -subj "/" \
-reqexts SAN -config <(cat /etc/ssl/openssl.cnf \
<(printf "[SAN]\nsubjectAltName=DNS:foo.com,DNS:www.foo.com"))