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.

Getting rid of ssl passphrase

Discussion in 'General Discussion' started by spiritguardian, Jun 28, 2006.

  1. spiritguardian

    spiritguardian Active Member

    Joined:
    Apr 30, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    When my machine boots, it requires a manual entry of the ssl passphrase for apache, which of course I can't do. I have to wait for the machine to finish starting up and then launch apachessl manually. Does anyone have a thread/web link for me to research so I can configure this? Thanks.
     
  2. spiritguardian

    spiritguardian Active Member

    Joined:
    Apr 30, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    1
    Apache suggests:

    1. Remove the encryption from the RSA private key (while preserving
    the original file):

    $ cp server.key server.key.org
    $ openssl rsa -in server.key.org -out server.key

    2. Make sure the server.key file is now only readable by root:

    $ chmod 400 server.key


    However, I get an error.

    unable to load Private Key
    20668:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:632:Expecting: ANY PRIVATE KEY

    Any clue?
     
Loading...

Share This Page