So you need to restart Apache that has a SSL certificate, but you don’t want to give the other admins the password, or for other reasons. My reason for taking it out was that logrotate wants to restart Apache after log rotation. Well with Apache sitting waiting for a password, it screws everything up, because it sits and waits for a password that is never entered.
server:/etc/apache2/keys# openssl rsa -in website.key -out website.key.nopass
Enter pass phrase for website.key:
writing RSA key
Make sure you edit /etc/apache2/sites-enabled/000-default or where ever you set up SSL on apache to make it use the new website.key.nopass key. Look how wonderfully it restarts apache with out bothering you for a password now.
So it now looks like
Yaha it restarted with out having to enter a password.
front:/etc/apache2# /etc/init.d/apache2ssl restart
Restarting web server: apache2 … waiting .