I'm trying to figure out how to generate a CSR so I can generate and install a SSL cert.
Here's a link to what I've what tried. Granted that post was for m0n0wall, but I figured openssl is openssl.
Heres where I get stuck.
When I run this:
/usr/bin/openssl req -new -key mykey.key -out mycsr.csr -config /usr/local/ssl/openssl.cnf
I get this:
error on line -1 of /usr/local/ssl/openssl.cnf
54934:error:02001002:system library:fopen:No such file or directory:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:122:fopen('/usr/local/ssl/openssl.cnf','rb')
54934:error:2006D080:BIO routines:BIO_new_file:no such file:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/bio/bss_file.c:125:
54934:error:0E078072:configuration file routines:DEF_LOAD:no such file:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/conf/conf_def.c:197:
The first two lines are complaining about the absence of
openssl.cnf
. My openssl, which works fine, does the same thing when I point it at a non-existent config file. Could you try again without the-config
stuff, and see how it goes?