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.