Re: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script

2014-02-28 Thread Tom Browder
On Thu, Feb 27, 2014 at 4:20 PM, Tom Browder wrote: > > Still looking for ideas from someone who has used the pipe method. I'm still looking for how the pipe method works. But I used the exec method and it works fine! FYI, I used a script a little pickier than a simple return: $ cat execpassph

Re: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script

2014-02-27 Thread Tom Browder
On Thu, Feb 27, 2014 at 2:58 PM, Tom Browder wrote: > On Thu, Feb 27, 2014 at 2:41 PM, Dan Bryan wrote: >> What if you change ":#!/bin/bas" to "#!/bin/bash" in passphrase.sh ? ... > But, in the process of checking that file on the server, I discovered > it was not marked executable. I've so chm

Re: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script

2014-02-27 Thread Tom Browder
On Thu, Feb 27, 2014 at 2:41 PM, Dan Bryan wrote: > What if you change ":#!/bin/bas" to "#!/bin/bash" in passphrase.sh ? Duh, e-mail typo! Good catch, Dan, but the real script has its first line as: #!/bin/bash But, in the process of checking that file on the server, I discovered it was not ma

RE: [users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script

2014-02-27 Thread Dan Bryan
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 "

[users@httpd] Problems with directive "SSLPassPhraseDialog" with a piped script

2014-02-26 Thread Tom Browder
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