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

前端 未结 14 680
无人及你
无人及你 2020-12-12 10:51

While using OpenSSL on Windows:

openssl genrsa -out privatekey.pem 1024 -->

Created successfully

openssl req -new -x509 -key          


        
14条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-12 11:18

    In windows , [Similar scenario]

    I was facing the same problem But It was during requesting for Certificate Signing Request.

    I did the below , It Worked for me.

    Once OpenSSL installed, Ran command prompt as administrator after the system reboot.[for the best I did both.. run as admin and system reboot]

    did, 1.[Error Case]

    C:\OpenSSL-Win64\bin>openssl req -new -key server.key -out server.csr
    

    WARNING: can't open config file: C:\OpenSSL-Win64\bin\openssl.cnf AND Unable to load config info from C:\OpenSSL-Win64\bin\openssl.cnf

    2.[Worked with Warning]

    C:\OpenSSL-Win64\bin> openssl req -new -key server.key -out server.csr -config C:\OpenSSL-Win64\bin\openssl.cfg
    

    [Warning message]: WARNING: can't open config file: C:\OpenSSL-Win64\bin\openssl.cnf

    But prompted me for the Pass Phrase for server.key It worked for me.

    I referred,This link for my assistance.

    Thank you.

提交回复
热议问题