无法在XAMPP中生成证书签名请求

时间:2014-05-07 19:04:33

标签: ssl openssl xampp csr

我试图遵循本指南

https://knowledge.verisign.com/support/ssl-certificates-support/index?page=content&actp=CROSSLINK&id=AR198

基本上

C:\xampp\php\extras\openssl>openssl genrsa -out private.key 2048

然后

C:\xampp\apache\bin>openssl req -new -key private.key -config "C:\xampp\php\extr as\openssl" -out request.csr

我收到了错误:

error on line -1 of C:\xampp\php\extras\openssl
4456:error:02001005:system library:fopen:Input/output error:.\crypto\bio\bss_fil
e.c:126:fopen('C:\xampp\php\extras\openssl','rb')
4456:error:2006D002:BIO routines:BIO_new_file:system lib:.\crypto\bio\bss_file.c
:131:
4456:error:0E078002:configuration file routines:DEF_LOAD:system lib:.\crypto\con
f\conf_def.c:199:

以下是我的系统信息

Windows NT LGLAC046 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

Apache/2.4.4 (Win32) OpenSSL/0.9.8y PHP/5.4.19 

OPENSSL_CONF    C:/xampp/apache/bin/openssl.cnf 

SSL Version     OpenSSL/0.9.8y 

这是什么错误以及如何生成CSR?

0 个答案:

没有答案