This error occurs mainly on windows when you are using openssl package,
The reason is that openssl failed to locate the openssl.cnf file
I will recommend that you do the following (one windows only)
- Open your command prompt as Administrator (few openssl commands opens in random state), thus when openssl tries to write stuff on your disk it fails. There could be another workaround but i am not aware of that.
- Now before you run any openssl command type the following.
set OPENSSL_CONF=c:\[PATH TO YOUR OPENSSL DIRECTORY]\bin\openssl.cfg
after you did the above now you are good to go with your openssl stuff.
Remember that everytime you open a command prompt you have to run the above command unless you set this as your environment variable.
I hope this helps. If it does then don’t forget to leave your comments below.
Cheers.
.
WARNING: can't open config file: /usr/local/ssl/openssl.cnf,




JC WordPress Coupon Revealer Plugin Pro License
Australian Street Names with City, State and Display Names only, Single Server License
thanks its work when go to start menu->Accessories->right click on command promot and open it with administrator
It’s unnecessary to open the command prompt as an administrator. You do need to add the path though, and that’s the part that got me. So rather than opening the prompt each time as an admin and then having to add the openssl path each time you just need to edit your system environment variables and add the path as instructed: OPENSSL_CONF=c:\[PATH TO YOUR OPENSSL DIRECTORY]\bin\openssl.cfg
Each path in the PATH environment variable should be separated by a semicolon. Now each time you open the command prompt to use OpenSSL you won’t have to add the path.
thanks… it’s really help me… =D
It worked quite well.
@ 2AM now, this extra hand did help… Thanks!
For those who will use OpenSSL frequently, it may worth putting this path configuration in cmd’s default.
Twitter: real7a
says:
Thanks, helped me #useful
cant open config file : ..\\openssl.c
THANKS A LOT!!!!!!!!!!!!!!!!
Hi, I have the next message:
C:\OpenSSL-Win32\bin>openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj “emailAddress=[email protected],CN=jiRamirez,C=ES”
Loading ‘screen’ into random state – done
Subject does not start with ‘/’.
problems making Certificate Request
I don’t understand why subject not start with “/”
I try to delete it, but doesn’t work.
help me please
Try this
Copy paste exactly like that with keeping whitespaces intact
openssl req -new -key mykey.key -out CertificateSigningRequest.certSigningRequest -subj "/emailAddress=[email protected], CN=jiRamirez, C=ES"Let me know if that worked for you
Cheers!
http://twitter.com/jschahal