Ask a Question

Advanced Search

Solution ID : SO11242

Last Modified : 05/02/2018

Error: Init: SSLPassPhraseDialog builtin is not supported on Win32

Problem

When restarting Apache, the following error may be generated:
 
Error: Init: SSLPassPhraseDialog builtin is not supported on Win32

Cause

This error is generated when restarting Apache, if a password was entered to encrypt the private key file.  Apache on a Windows Server does not support encrypted private keys.

The SSLPassPhraseDialog is a directive within the Apache httpd.conf or ssl.conf that is not supported by Windows

Solution

To resolve this issue, remove the pass phrase from the RSA private key
 
 

  1. Make a copy of the private key and call it "server.key.org"
     
  2. Use the OpenSSL command to remove the pass phrase:
     

    openssl rsa -in file1.key -out file2.key


    <file2.key> will be the new private key with the pass phrase removed.      
     
  3. Move this new key to the same directory where the original key was located. Verify that the directive "SSLCertificateKeyFile" in the apache config file points to the new private key.
     
  4. Find the directive "SSLPassPhraseDialog" and put a # in front to comment it out.
     
  5. Restarting Apache should no longer result in an error message.      


Note: If someone gains access to the unencrypted key, they will be able to impersonate your company. The key is the identifying digital signature.