Unable to load config info from /usr/local/ssl/openssl.cnf

Attempting to generate a Certificate Signing Request (CSR) using Apache and OpenSSL on Windows Server 2003 I received the following error message:

"Unable to load config info from /usr/local/ssl/openssl.cnf"

Immediately it is obvious that the path specified is a *nix path, not a Windows path. Apparently (link) there is no standard place for the config file in Windows, automatically resulting in this error. 

To remedy, add the following line to the openssl

-config  "C:\Program Files\Apache Software Foundation\Apache2.2\conf\openssl.cnf"

For example,

openssl req -new -key my.key -config "C:\Program Files\Apache Software Foundation\Apache2.2\conf\openssl.cnf" -out my.csr

22 comments

Popular posts from this blog

Getting Started with Mirth (Part 2)

Mirth

Visual Studio 2012–Debug in Chrome Incognito Mode