【发布时间】:2015-09-27 09:34:08
【问题描述】:
我正在尝试在 Windows Server 2012 R2 上的 Apache Server (XAMPP) 上启用 SSL。我有来自证书颁发机构的签名证书。
按照安装说明,我将私钥、服务器证书和中间 CA 证书正确复制到正确的目录,并在 httpd-ssl 文件中进行了必要的证书名称路径设置。
现在,当我尝试通过 Xampp 启动 Apache 时,出现以下错误:
Error: Apache shutdown unexpectedly.
12:42:29 This may be due to a blocked port, missing dependencies,
12:42:29 improper privileges, a crash, or a shutdown by another method.
12:42:29 Press the Logs button to view error logs and check
12:42:29 the Windows Event Viewer for more clues
12:42:29 If you need more help, copy and post this
12:42:29 entire log window on the forums
【问题讨论】:
-
请也发布您的 httpd.conf 文件/设置
-
我保持默认并且没有对 httpd 文件进行任何更改。因为 SSL 模式默认在那里,并且默认情况下包含虚拟主机文件和 ssl 文件。
-
您是否在使用端口号 80 或 443 的服务器上运行 Skype 或其他一些工具?
-
不,先生,我没有 SKype……但我想弄清楚……它说 443 端口已关闭。然后我尝试使用其他 ssl 端口,如 442 或 4430。结果相同。 Apache 无法启动。
-
感谢@Shiva 的所有帮助。现在终于解决了。错误是因为“Win32 不支持 SSLPassPhraseDialog 内置”我点击了这个链接并让它运行。再次感谢“support.quovadisglobal.com/KB/a90/…”
标签: windows apache openssl xampp ssl-certificate