无法启动apache,错误SSLCertificateFile接受一个参数,SSL服务器证书文件(`/ path / to / file' - PEM或DER编码)

问题描述 投票:-1回答:1

我已经在Apache for Windows OS中设置了调度程序。之后尝试配置证书以在httpd.config文件中启用HTTPS,然后每次都获得以下异常。不知道这里有什么问题。使用apache 2.2.25并使用openssl生成密钥。

有关这个问题的任何帮助?

enter image description here enter image description here enter image description here

apache aem dispatcher
1个回答
1
投票

请使用引号作为文件路径:

SSLCertificateFile "<path-to-file>"
SSLCertificateKeyFile "<path-to-file>"

您使用的路径包含多个“空格”,可能会被解释为另一个参数。

© www.soinside.com 2019 - 2024. All rights reserved.