Apache, SSL, and Annoying Password on Restart
June 26, 2009 at 2:06 pm
4 comments
So I have a server with an SSL cert. It requires a passphrase every time I restart. This is slightly annoying. So one of my coworkers recommended the following:
- create a simple perl script that prints the password
- in the ssl.conf file change SSLPassPhraseDialog builtin to SSLPassPhraseDialog exec:/location/to/passphrase.pl
- restart apache
It works beautifully. I am of course writing this down because I will forget what he told me in like 5 minutes.