免输密码启动带密码的SSL证书的Apache
编辑/etc/httpd/conf.d/ssl.conf
注释SSLPassPhraseDialog builtin并在下一行添加
SSLPassPhraseDialog exec:/etc/httpd/conf.d/apache_pass.sh
创建apache_pass.sh文件
touch /etc/httpd/conf.d/apache_pass.sh
编辑该文件添加如下
#!/bin/sh echo "password"
赋予该文件执行权限
chmod +x /etc/httpd/conf.d/apache_pass.sh
重启Apache就OK了