Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using a solution to another answer, I added the following to my apache config:

SSLPassPhraseDialog exec:/path/to/passphrase-script

And in that script, I placed this:

echo "put the passphrase here"

Now, when I restart apache, i get the following error:

Invalid command 'echo', perhaps misspelled or defined by a module not included in the server configuration

Should I be using some other command in the shell script? Or do I need to configure apache differently so the echo command works?

share|improve this question

Your shell (/bin/sh) does not appear to support echo as a built-in command, and your script is probably being called from an environment that doesn't have a valid PATH environment variable set.

Use the full path to the echo command (usually /bin/echo, sometimes /usr/bin/echo) instead and things should work.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.