Archive
Posts Tagged ‘SSLPassPhraseDialog’
openssl – how to disable passphrase prompt on apache2 restart
November 30, 2010
Leave a comment
Whenever apache2 restart and you have to manualy Enter the pass phrase of your ssl key.
To automatically start/restart apache2 without the prompt dialog, you can either store the passphrase in a secure folder or remove the password.
OPTION 1. store passphrase:
from your ssl.conf under /etc/apache2/mods-enabled/ssl.conf
SSLPassPhraseDialog exec:/securepath/to/passphrase-file
then create passphrase-file and type
#!/bin/sh echo "passphrase"
save file then make it executable
# chmod +x /passphrase-file
http://www.linuxquestions.org/questions/linux-server-73/apache-requires-ssl-passphrase-671559/
OPTION 2. Remove password:
# openssl rsa -in website.com.key -out website.com.key.nopass
then from update the location of your key file in your apache2 virtual hosts.
http://chrisschuld.com/2008/08/removing-the-password-on-an-apache-ssl-certificate/
Categories: Server
apache2, openssl, ssl passphrase, SSLPassPhraseDialog


