Unable to load config info from /etc/ssl/openssl.cnf

There I was, just minding my own business, creating a new certificate request, when bang! I got hit with this:

# openssl sl genrsa -des3 -out imaps.unixathome.org.key 2048
Generating RSA private key, 2048 bit long modulus
......................................................+++
.........................................................................................+++
e is 65537 (0x10001)
Enter pass phrase for imaps.unixathome.org.key:
Verifying - Enter pass phrase for imaps.unixathome.org.key:

# openssl req -new -key imaps.unixathome.org.key 
Unable to load config info from /etc/ssl/openssl.cnf

What?

Are you in a jail? Yes? If so you need to do this from the host:

cd /usr/jails/YOURJAIL/etc
# create this directory if it does not exist
mkdir ssl
cd ssl
cp -p /etc/ssl/openssl.cnf .

Then it should work.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top