httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Bryan" <danbrya...@gmail.com>
Subject RE: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script
Date Thu, 27 Feb 2014 20:41:58 GMT
What if you change ":#!/bin/bas" to "#!/bin/bash" in passphrase.sh ?

--Dan

-----Original Message-----
From: Tom Browder [mailto:tom.browder@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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



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


Mime
View raw message