# cd /etc/ssl/private # openssl rsa -in website.key -out website.key.no-passphrase Enter pass phrase for website.key: writing RSA key # mv website.key website.key.old-with-passphrase # cp website.key.no-passphrase website.key # /etc/init.d/apache2 restart * Restarting web server apache2 #apache starts without asking for the passphrase
Another way is to use the SSLPassPhraseDialog directive to read in the password from a script.