Error Installing open ssl in windows in command prompt

Error Installing open ssl in windows  in command prompt in windows environment for node js server

we need to install open ssl software in the windows machine . After installing the software when we

want to generate the certificate in the windows command prompt the following error occur


When we try to generate the ssl certificate for

WARNING: can't open config file: /usr/local/ssl/openssl.cnf

Loading screen into random state

Generating RSA private key, 1024 bit long modulus  .........++++++

.........................................++++++   unable to write random state is 71259 (0x10001)


to solve the above error , you need to add the open ssl folder to the environment variable in the 

windows environment.

After updating the variable in the windows environment setting close command prompt and open

it again , then try to run the following command



set   OPENSSL_CONF = C:\Program Files\OpenSSL-Win32\bin\openssl.cfg 


in the command prompt this will solve the issue 

Comments