Results 1 to 2 of 2

Thread: After SSl instal WHM wont restart apache but comand line wil

  1. #1
    Member
    Join Date
    Aug 2001
    Posts
    89

    Default After SSl instal WHM wont restart apache but comand line wil

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Aug 2001
    Posts
    445

    Default

    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.
    Annette
    Hosting Matters, Inc.
    http://www.hostmatters.com

Similar Threads

  1. apache wont restart, help?
    By hamper in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 05-27-2006, 03:46 AM
  2. Apache wont restart, start, etc.
    By distincthead in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-15-2005, 11:58 AM
  3. Apache failed and wont restart
    By Cleon in forum cPanel & WHM Discussions
    Replies: 5
    Last Post: 04-12-2005, 11:25 AM
  4. Apache wont restart !! help please
    By kickback in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-15-2004, 11:12 PM
  5. Replies: 0
    Last Post: 06-30-2003, 12:58 PM