OpenSSL openssl.cnf


I am trying to follow the instructions detailed in this link:

I am able to run: openssl genrsa -out client-2048.key 2048

but when I try to run:

openssl req -new -config openssl.cnf -key client-2048.key -out client-2048.csr

I get an error message saying:

Can't open openssl.cnf for reading, No such file or directory 140668627129664:error:02001002:system library:fopen:No such file or directory:../crypto/bio/bss_file.c:69:fopen('openssl.cnf','r') 140668627129664:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:76:

Any ideas? Any and all help appreciated!

Thanks in advance!

The config file that you want to use is at /usr/lib/ssl/openssl.cnf

Thank you!!