Re: Just curious about Mod_SSL and Apache.

From: Date: Thu, 24 Oct 2002 09:33:18 +0000
Subject: Re: Just curious about Mod_SSL and Apache.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-121209@lists.php.net to get a copy of this message
Try: #!/bin/bash case "$1" in "servername1.com:443") if [ $2 = RSA ]; then echo "passwordnumberone" fi ;; "servername2:443") if [ $2 = RSA ]; then echo "passwordnumber2" fi ;; esac Set the script as the passphrase command in httpd.conf The only problem is that the password is in clear text, make sure to chmod 700 the script. Bye MArselo On Wednesday 23 October 2002 12:54, Scott Fletcher wrote: > I know the topic is off the point but at least, I use PHP on this > webserver. As you know, when you shut down Apache and later on, start it up > by this command, "apachectl startssl". Then it will ask you for the > passphrase (password). This is the private key password for the ssl and > encryption purpose. > > The question here is when I write a bash script that will do it for me > automatically by just executing the filename. The question is how to give > the passphrase to Apache? I tried many different method of scripting and > Apache doesn't received the passphrase from the user input. Anyone know? > Or is there some reference somewhere where I can start looking into it? > > Thanks!

« previous php.general (#121209) next »