[error] Init: SSLPassPhraseDialog builtin is not supported on Win32 found in Portal's error.log file when attempting to update SSL certificate

Version 1
    Share:|

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    BMC Performance Manager Portal


    APPLIES TO:

    BMC Performance Manager Portal 2.10+



    DETAILS:

    The Portal webserver error.log file shows the following error

     

      

     

       [Wed Oct 04 08:45:35 2017] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file D:/BMCSoftware/BMCPortalKit/certificates/New/private.key)  

    [Wed Oct 04 08:54:30 2017] [error] Init: SSLPassPhraseDialog builtin is not supported on Win32 (key file D:/BMCSoftware/BMCPortalKit/certificates/New/private.key)
     

      
       

    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.

       
      
      
       

    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.    
    3. 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.
       
    4.    
    5. Move this new key to the same directory where the original key was located.  Verify that the directive called "SSLCertificateKeyFile" in the apache config file points to the new private key.
       
    6.    
    7. Find the directive "SSLPassPhraseDialog" and put a # in front to comment it out.

      Restarting Apache should no longer result in an error message. 
       
    8.   
       
      
      

     

      

     

     


    Article Number:

    000143357


    Article Type:

    Product/Service Description



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles