RE: mod ssl freezes when booting up

Matt Stevenson <[email protected]>
Newsgroups gmane.comp.apache.mod-ssl.user
Message-ID <[email protected]>
Hi,

You need to set apache up not to ask for a password.

look at ...

SSLPassPhraseDialog
exec:/usr/local/apache/bin/printkey.pl

where printkey.pl could be ...

#!/usr/bin/perl -w

my $passwords = {
                'x.com'            => 'pass1',
                'y.com'            => 'pass2'
                };

my $server = (split(/:/, $ARGV[0]))[0];

print "$passwords->{$server}\n";

Regards
Matt

--- C G <[email protected]> wrote:
> 
> > >
> > > If I restart my computer, the screen always
> freezes at
> > > 'starting up apache'
> > > and I have to remote log on and kill apache for
> the machine to boot.
> >
> >Is the private key encrypted? If it is, it will
> prompt for a passphrase
> >at start-up and wait until it gets one. But read
> on...
> Yes the key the is encrypted. When I start apache as
> root and log on, it 
> asks me for a pass phrase. But when apache tries to
> start at boot-up it just 
> hangs, no pass-phrase.
> 
> > > Looking at the error log I get the messages:
> > > [Tue Apr 20 13:58:06 2004] [error] mod_ssl:
> Init: Private key
> > > not found
> >
> >This isn't good. What do you have for
> SSLCertificateKeyFile? Does the
> >path exist? Is it readable?
> Yes is there, and yes it is readable. I presume that
> apache will start up as 
> root. So that shouldn't be the problem.
> 
> Someone else suggested that that I make apache
> boot-up last. I changed 
> S90apache to  S99apache. It didn't work.
> 
> Another suggestion was to try $PATH and
> $LD_LIBRARY_PATH. I don't think this 
> is the problem as everything is Debian, and I
> haven't put anything in funny 
> positions.
> 
> Are there any other suggestions?
> 
> Thanks for the help
> 
> Colin
> 
>
_________________________________________________________________
> Find a cheaper internet access deal - choose one to
> suit you. 
> http://www.msn.co.uk/internetaccess
> 
>
______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl)               
>    www.modssl.org
> User Support Mailing List                     
> [email protected]
> Automated List Manager                           
[email protected]



	
		
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [email protected]
Automated List Manager                            [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.