The difference I see here is the "echo" will output a newline charactor,
while the perl "print" will not. I would try:
print "pass_here\n";
jeff
Mikael Hansen wrote:
>
> Hi
>
> I have a server running with a similar setup except that I use a shell
> script to provide the password:
>
> #!/usr/dist/bin/bash
> echo 'password'
>
> Perhaps it has something to do with the time it takes to execute a perl
> interpreter? Try the shell script indteadt, and se if it has any effect.
>
> > Now I decided that I dont want to always be prompted for the passphrase, so
> > I set:
> > SSLPassPhraseDialog exec:/www/bin/q
> >
> > /www/bin/q is:
> > #!/usr/bin/perl
> > print "pass_here";
> >
> > The q script works because if I run it from the command line, it outputs
> > 'pass_here'
> >
> > So, I did /www/bin/apachectl stop then /www/bin/apachectl startssl
> >
> > It starts up and still prompts for the password. I type 'pass_here' and it
> > loads.
> >
> > There is nothing in the error_log.... anyone have feedback on how to get
> > apache starting without prompting for the passphrase?
>
> Best Regards
> Mikael Hansen
>
> "We are Microsoft. You will be assimilated.
> Resistance is Futile."
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]