Apache SSL启动输入密码解决方法

vi /etc/httpd/conf.d/ssl.conf
找到 SSLPassPhraseDialog builtin 注释并添加一行:
SSLPassPhraseDialog exec:/etc/httpd/conf.d/ssl_pass.sh

vi /etc/httpd/conf.d/ssl_pass.sh
#!/bin/sh
echo “密码”

增加运行权限
chmod u+x /etc/httpd/conf.d/ssl_pass.sh

然后重启
service httpd restart