LinuxMoz

Linux Stuff && Coffee

Apache Remove SSL Password on Restart

| Comments

How to remove the Apache SSL password prompt when restarting / starting the Apache service on Linux.

Apache prompt when restarting the service:

1
2
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Apache SSL Password Prompt

The best way to stop Apache prompting for the SSL certificate password is to remove the SSL password from the certificate that Apache is using.

Remove SSL password Apache

Enter the following as root:

1
openssl rsa -in blah.com.key -out blah.com.key.nopass

You will now need to point you Apache vhost config at the above key and do a test restart to make sure the service does not prompt for a password.

Comments