where does openssl expect the config file
I've been following an "openssl HOWTO" specific to FC2. There is a short reference to a "configuration file" but no mention of where it is supposed to be located nor how it should be named.
This howto assumes openssl is installed in /opt/ but I found it in /usr/bin/ so I substituted all /opt/ by /usr/bin/ for the creation of the required directories and files. A little further down this howto there is a line to be typed as follows: OPENSSL_CONF=/usr/bin/LocalCA/LocalCA.cnf which I thought was the configuration file, I then named the configuration file LocalCA.cnf and copied it into /usr/bin/LocalCA/ but I get a message "unable to load Config info" before being asked to : "Enter PEM Pass phrase:" it then crashes after another complaint concerning the config file. Does anyone know where this config file is expected and how it should be named? Thank you. |
/etc/ssl/openssl.cnf
I think this should answer your q's :) |
to joelkeeble:
I have no subdirectory ssl in /etc, do I have OpenSSL not configured? |
The conf file will depend on how you installed OpenSSL. If you installed via RPM, it will likely be in /usr/ssl or /usr/openssl. If you installed from the source code, it will likely be in {$PREFIX}/ssl
|
This was installed with the distro (FC2).
I found the following: /usr/share/ssl/openssl.cnf It looks like I'll have to read the docs a lot more to find out what's going on. Thank you all for your help. |
All times are GMT -5. The time now is 01:34 AM. |