Win32不支持内置的SSLPassPhraseDialog

时间:2019-07-26 08:09:25

标签: ssl openssl

我一直在尝试针对SSL使用本教程。

https://www.namecheap.com/support/knowledgebase/article.aspx/10026/33/installing-an-ssl-certificate-on-xampp

目前,我已经完成了分步教程,但不幸的是仍然得到了这样的提示

enter image description here

我猜错误是在我的.crt.pem文件中。但是这些文件是给我的,可用于我的项目。

enter image description here

我正在为VirtualHost使用此配置

<VirtualHost *:443>
  DocumentRoot "C:/xampp/htdocs/api"
  ServerName sample.com
  ServerAlias *.sample.com
  SSLEngine on
  SSLCertificateFile "C:/xampp/apache/ssl/sample.crt"
  SSLCertificateKeyFile "C:/xampp/apache/ssl/sample.pem"
  SSLCACertificateFile "C:/xampp/apache/ssl/sample-bundle.crt"
</VirtualHost>

这是我的Host文件

 127.0.0.1 sample.com

0 个答案:

没有答案