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

RE: [apache-ssl] Apache + modssl



you can stop it from asking for the pass phrase by doing the following.
this removes it from your private key.

openssl rsa -in privkey.pem -out new.cert.key

Joga


-----Original Message-----
From: Adam Laurie [mailto:adam@algroup.co.uk]
Sent: Tuesday, June 20, 2000 2:59 PM
To: apache-ssl@lists.aldigital.co.uk
Subject: 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


*******
This email has been swept for viruses by MailSweeper


**********************************************************************
altodigital.com  
                business and the net altogether

www.altooffice.com everything you need for your office at  
lower prices than the high street.

This footnote also confirms that this email message has been swept by
altodigital for the presence of computer viruses.

www.altooffice.com
**********************************************************************