我正在尝试按照本指南续订我的 SSL 证书https://www.namecheap.com/support/knowledgebase/article.aspx/9446/14/generating-csr-on-apache-opensslmodsslnginx-heroku/
命令
openssl req -new -newkey rsa:2048 -nodes -keyout server.key -out server.csr
告诉我:
unable to find 'distinguished_name' in config
problems making Certificate Request
140339049886848:error:0E06D06A:configuration file routines:NCONF_get_string:no conf or environment variable:../crypto/conf/conf_lib.c:270:
我在网上提到的任何位置都找不到
openssl.cnf
文件,因此我想生成一个新文件。
重新安装 openssl 没有帮助,我不确定下一步要尝试什么。
要找到 openssl.cnf 文件,请找到 openssl 的安装目录。 打开bin文件夹并打开cnf文件夹。 在 cnf 文件夹/目录中,您将找到 openssl.cnf 文件