What if you change ":#!/bin/bas" to "#!/bin/bash" in passphrase.sh ?

--Dan

-----Original Message-----
From: Tom Browder [mailto:tom.brow...@gmail.com] 
Sent: Wednesday, February 26, 2014 6:42 PM
To: users@httpd.apache.org
Subject: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a
piped script

I am using httpd 2.4.7 built from source.  OpenSSL is a Debian package with
version 1.0.1e.

The pertinent part of my httpd.conf is:

  SSLCertificateKeyFile      /path/to/key.file
  SSLPassPhraseDialog     |/path/to/passphrase.sh

$ cat passphrase.sh
#!/bin/bas
echo averylongand randompassord

But that doesn't work.

But when I use a decrypted key like so:

  SSLCertificateKeyFile      /path/to/key.file.unsecure
  #SSLPassPhraseDialog     |/path/to/passphrase.sh

all works well.

So the question is:  (1) is my passphrase.sh script in the proper format or
(2) is something else wrong?

Thanks and best regards,

-Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to