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

前端 未结 14 671
无人及你
无人及你 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:30

    In my case, I need to set the path of openssl.cnf file manually on the command using config option. So the command

    openssl req -x509 -config "C:\Users\sk\Downloads\openssl-0.9.8k_X64\openssl.cnf" -newkey rsa:4096 -keyout key.pem -out cert.pem -nodes -days 900
    

提交回复
热议问题