RE: Problems with directive "SSLPassPhraseDialog" with a piped script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--Dan

-----Original Message-----
From: Tom Browder [mailto:tom.browder@xxxxxxxxx] 
Sent: Wednesday, February 26, 2014 6:42 PM
To: users@xxxxxxxxxxxxxxxx
Subject:  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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx





[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux