PDA

View Full Version : [ubuntu] SSL in apache2



bluethundr
July 29th, 2009, 03:06 PM
I am attempting to configure SSL in apache2.


in /etc/apache2/sites-available I have edited default-ssl

and added these lines:



SSLCertificateFile /etc/apache2/ssl/reports.pem
SSLCertificateKeyFile /etc/apache2/ssl/reports.beezag.com.key


Then I restart apache and get this message prompting me to enter my RSA key passphrase which I do:



Starting web server: apache2Apache/2.2.9 mod_ssl/2.2.9 (Pass Phrase Dialog)
Some of your private key files are encrypted for security reasons.
In order to read them you have to provide the pass phrases.

Server nagios.beta.beezag.com:443 (RSA)
Enter pass phrase:

OK: Pass Phrase Dialog successful.
failed!


As you can see the pass phrase seem to be ok, but apache fails to start. any tips?

weather15
July 29th, 2009, 03:36 PM
Is mod SSL enabled also I see that you edited /etc/apache2/sites-available/default-ssl did you move that file to sites-enabled?

bluethundr
July 29th, 2009, 04:21 PM
before I attempted to restart Apache I issued a2enmod ssl and a2ensite default-ssl.