Re: [apache-ssl] Apache + modssl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [apache-ssl] Apache + modssl



Mark Stuivenberg wrote:
> 
> Hi,
> 
> I have a question, I got apache runnining with mod ssl
> it works fine as a matter of fact great.
> 
> The only trouble I seam to stuble on is starting it
> up, from the command line it's easy:
> /usr/local/apache/bin apachectl startssl
> it prompts me for the pem password, I enter it, it works
> 
> What I'm trying to do now is start it through init.d
> or atleast make a script that starts it up.
> 
> I've used autoexpect to make a little script:
> #!/usr/local/bin/expect
> 
> set timeout -1
> spawn /usr/local/apache/bin/apachectl startssl
> match_max 100000
> expect -exact "Apache/1.3.12 mod_ssl/2.6.4 (Pass Phrase Dialog)\r
> Some of your private key files are encrypted for security reasons.\r
> In order to read them you have to provide us with the pass phrases.\r
> \r
> Server pandora.information-innovation.com:443 (RSA)\r
> Enter pass phrase:"
> send -- "notquite\r"
> expect eof
> 
> Now, this script manages to run, enter the password and give me my promt
> back.
> 
> The bad part, Apache does not start, and nothing comes through the error
> log.
> 
> Does anyone have any ideas?

Yep. I have the idea you are asking the wrong list:

  http://www.apache-ssl.org/#mod_ssl

cheers,
Adam
--
Adam Laurie                   Tel: +44 (181) 742 0755
A.L. Digital Ltd.             Fax: +44 (181) 742 5995
Voysey House                  
Barley Mow Passage            http://www.aldigital.co.uk
London W4 4GB                 mailto:adam@algroup.co.uk
UNITED KINGDOM                PGP key on keyservers