我在 Centos 5 上安装了新证书并修改了以下行的 conf 文件时遇到问题:
SSLCertificateFile /etc/pki/tls.certs/name.crt
SSLCertificateKeyFile /etc/pki/tls/private/name.key
SSLCACertificateFile /etc/pki/tls/certs/group.ca-bundle
但每次我启动 httpd 服务时,我都会得到以下信息:
> sudo service httpd start
> Starting httpd: Apache/2.2.15 mod_ssl/2.2.15 (Pass Phrase Dialog)
> Some of your private key files are encrpyted for security reasons.
> In order to read them you have to provide the pass phrases.
> Server servername.co.uk: 443 (RSA)
> Enter pass phrase:
> OK: Pass Phrase Dialog successful. [FAILED]
(只有CentOS的基础知识,所以请先原谅我的愚蠢!)
所以问题是什么失败了?我在哪里可以找到相关的日志来告诉我这个?
两种可能的解决方案:
使用 debug-loglevel 手动运行
httpd
二进制文件,看看是否可以从中获取更多信息。httpd -e debug