View Single Post
  #37  
Old 3rd March 2009, 15:40
koltz koltz is offline
Member
 
Join Date: Feb 2007
Posts: 61
Thanks: 0
Thanked 1 Time in 1 Post
Default

Well got it working. Looking at the instructions (for Ubuntu), it doesn't look like there is anything in it for adding SSL besides the module and enabling it. I had to create the local certs using openssl, copied /etc/apache2/sites-available/default to /etc/apache2/sites-available/ssl, making a link to /sites-enabled. I then changed in the ssl file

from:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
to:
Code:
NameVirtualHost *:443
<VirtualHost *:443>
and added to following underneath the DocumentRoot line:

Code:
        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/server.crt
        SSLCertificateKeyFile /etc/ssl/private/server.key
I created the CRT and KEY files with openssl and installed them in the above paths. I restarted apache and got my SSL working for my site. Getting the local cert created then I had to figure out getting the GoDaddy cert in there, but finally did that last night.
Reply With Quote