Getting rid of ssl passphrase

spiritguardian

Active Member
Apr 30, 2004
27
0
151
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.
 

spiritguardian

Active Member
Apr 30, 2004
27
0
151
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?