Problem
Upon Apache startup with SSL, the log shows the following error:
"[error] Init: SSLPassPhraseDialog builtin is not supported on Win32."
Cause
The SSLPassPhraseDialog is a directive within the Apache httpd.conf or ssl.conf that is not supported by Windows
Resolution
1. Remove the encryption from the RSA private key (while preserving the original file).
2. Remark out - SSLPassPhraseDialog in the appropriate apache conf file with a # in front of the directive.
- Make a copy of the private key and call it "server.key.org"
- Use the OpenSSL command to remove the passphrase such as:
openssl rsa -in server.key.org -out server.key; server.key will be your new private key with the passphrase removed. - Move this new key to the same path as where your original was kept. Verify that the directive called "SSLCertificateKeyFile" in your Apache config file points to the new private key.
- Find the directive "SSLPassPhraseDialog" and put a # in front to comment out the line.
- You will now be able to startup Apache with SSL on Windows.