Thursday, September 18, 2014

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



Issue:
 
While trying to generate the csr from the key using openssl in windows, The following error will be displayed.

 

Solution: download the openssl.cnf file from the following link and paste the file any location. I prefer to keep the files in config folder of openssl folder structure.

You will get this error while trying to generate the csr. Incase if you do not know the steps to generate key,cse and crt. Please go through the following link.


The commands from the above link would be similar for windows as you are using openssl.

After placing the openssl.cnf file, use the following command to generate the csr. 

openssl req -new -key server.key -out server.csr -config < path of openssl.cnf>

This command will ask you for the common name,organization unit name etc. After providing all the details a csr will be generated. A vendor signed or self signed certificate can be requested.

                                 (: Happy learning :)

0 comments:

Post a Comment