The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

After SSl instal WHM wont restart apache but comand line wil

Discussion in 'EasyApache' started by JeremyL, Oct 29, 2001.

  1. JeremyL

    JeremyL Well-Known Member

    Joined:
    Aug 10, 2001
    Messages:
    87
    Likes Received:
    0
    Trophy Points:
    6
    I just installed a cert on a domain and now WHM wont restart apache due to the fact whenever it restarts it wan\'ts a pass phrase. I litterally have to do it via command line. It\'s not to big a deal but that means when it fails it won\'t automatically restart.

    This is what the command line is asking for for the start
    ==============
    Apache/1.3.20 mod_ssl/2.8.4 (Pass Phrase Dialog)
    Some of your private key files are encrypted for security reasons.
    In order to read them you have to provide us with the pass phrases.

    Server www.rockhosting.com:443 (RSA)
    Enter pass phrase:

    ==========================

    How do I get it to bypass that so WHM can do the restarts?

    Thanks
     
  2. Annette

    Annette Well-Known Member
    PartnerNOC

    Joined:
    Aug 12, 2001
    Messages:
    445
    Likes Received:
    0
    Trophy Points:
    16
    SSH in and:

    Copy the key to another file.
    openssl rsa -in domain.com.key.copy -out domain.com.key

    You\'ll be prompted for the passphrase when you run that, but not on subsequent restarts of apache.
     
Loading...

Share This Page