I've created a self-signed SSL certificate via OpenSSL and have configured it for Apache.
For some reason, I can NOT access my site at:
https://alwaysbaked.net
I believe that I have Apache configured correctly because I can access the following:
http://alwaysbaked.net:443
Also, when I start Apache, I get the following message:
* Starting web server apache2 Apache/2.2.8 mod_ssl/2.2.8 (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 alwaysbaked.net:443 (RSA)
Enter pass phrase:
OK: Pass Phrase Dialog successful.
My CONF stub looks like this:
NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot /var/www/alwaysbaked.net/
ServerName alwaysbaked.net
ServerAlias
www.alwaysbaked.net
SSLEngine On
SSLCertificateFile /etc/ssl/certs/server.crt
SSLCertificateKeyFile /etc/ssl/private/server.ke
y
</VirtualHost>
I used this tutorial to create the certificate:
https://help.ubuntu.com/8.04/serverguide/C/certificates-and-security.html
I used this tutorial to configure the certificate for Apache:
https://help.ubuntu.com/8.04/serverguide/C/httpd.html#https-configuration
I don't think the problem is a firewall issue. HTTPS should be open to the outside world, because it's apparent that port 443 is open (I believe that HTTPS uses port 443 for incoming/outgoing communication). Also, my domain is registered at GoDaddy.com, so I'm not sure if they block HTTPS in some way.
Can someone take a look at this and point me in the right direction?
Thanks!
Here ( http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html ) is a good walkthrough on the subject.
Good Luck