Hi,
Try this out. xxxx being your PEM Phrase.
Murray
!/usr/local/bin/expect
set timeout 300
proc check {} {
expect {
"*nable to connect*" {spawn /usr/root/bin/ssl.sh
expect "*PEM pass phrase:" {send "xxxx\r"
expect -ex "eof\r" {return 0}}
}
"*onnected*" {return 0}
}
}
spawn telnet localhost 443
while {[check]} {}
puts "SSL is now up..."
At 09:28 PM 10/6/98 -0500, you wrote:
>is there a way (without rewriting ssleay's pem_lib.c) that I can run
>apache ssl without needing to be at a prompt.. I would like to have
>httpsd automatically run at startup instead of having to run it by hand,
>because it keeps asking me to "Enter PEM pass phrase:". thanks Chuck
>
>
>
>------
>Chuck Pierce
>CEO. OnyxSystems LLC
>phone (615) 665-3377
>fax (615) 665-2401
>pager chuck.page@nashville.net or (615) 282-3644
>
>
>
http://faq.web2010.com/index.html
Technical Support-
http://faq.web2010.com/services/support.shtml
843.842.9572
M-F 9:00a.m.-9:00P.m.