Duane W.
--
Buy my book: http://squidbook.org/

On Wed, 10 Dec 2003 [EMAIL PROTECTED] wrote:

>
> Thanks much!  Yes, pid_filename is an odd directive, no wonder I overlooked
> that. ;)   And that was the trick.  By adding pid_filename "none", two
> instances of squid will run, each using it's own conf file with unique
> https_port directives.
>
> This brings me to another problem of starting squid from a script.  When
> starting squid using -NCd1 for testing, squid prompts me for the PEM pass
> phrase during SSL initialization, which I type and squid runs happily
> along.  But when starting in daemon mode (without the -N option) I am never
> prompted for the pass phrase, squid does not start, it dies.
>
> How can I pass the pass phrase to squid so that it starts automatically
> like from a script or on reboot?

Probably you cannot without making some modifications to the source code.

What you can do, however, is remove the passphrase from your (RSA) key
with a command like this:

    openssl rsa -in private-key -out private-key.no-passphrase

This is arguably a bad idea, but will allow you to start Squid as you want.

Duane W.

Reply via email to