Apache - Remove password private key

If the private key is password protected, Apache will need this password when starting. This can be a problem, if the serts restarts without someone being present to enter this password.

Using the following command, the password can be removed. When doing this, make sure the shell is placed in the folder in which the private key is saved:

[root@server cert]# openssl rsa -in encrypted_private_key.key -out private_key.key

In the command as shown above, make sure to replace encrypted_private_key.key with the name of the private key, and replacce private_key.key with the desired file name for the new private key without a password.


Our SSLCheck will examine your website's root and intermediate certificates for correctness and report any potential issues