apachectl startssl启动apache自动运行输入密码
时间:2006-05-28 来源:supersuper
vi /usr/local/apache2/conf/extra/httpd-ssl.conf
注释SSLPassPhraseDialog builtin
在后添加
SSLPassPhraseDialog exec:/usr/local/apache2/conf/apache_pass.sh
vi /usr/local/apache2/conf/apache_pass.sh
#!/bin/sh
echo "密码"
chmod +x /usr/local/apache2/conf/apache_pass.sh
注释SSLPassPhraseDialog builtin
在后添加
SSLPassPhraseDialog exec:/usr/local/apache2/conf/apache_pass.sh
vi /usr/local/apache2/conf/apache_pass.sh
#!/bin/sh
echo "密码"
chmod +x /usr/local/apache2/conf/apache_pass.sh
相关阅读 更多 +