Getting Around Entering a SSL Passphrase when Restarting Apache

Shame on me for not knowing this earlier.

sudo apachectl -k graceful

Reloads the Apache httpd gracefully by reloading configs only. This is hella useful if your server has SSL VHosts with passwords that you don’t know.

RedHat folks can do use service too:

sudo -i service httpd graceful
This entry was posted in Misc. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>