Changes between Version 9 and Version 10 of Internal/LoginService/SSL


Ignore:
Timestamp:
Mar 14, 2012, 12:51:04 PM (13 years ago)
Author:
Olivera Tosic
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/LoginService/SSL

    v9 v10  
    3737}}}
    3838
     39 === Instruct Apache to listen to 443 ===
    3940
    40 
    41 Now we need to change the port address in /etc/apache2/ports.conf by default it will listen port 80 and now we are installing with SSL we need to change port 443 to listen
     41Change the port address in /etc/apache2/ports.conf by default it will listen port 80 and now we are installing with SSL we need to change port 443 to listen
    4242
    4343{{{
    4444 Listen 443
    4545}}}
     46
     47Your ports.conf may already have an IfModule clause in it for the SSL portion. If you see this, you can just leave it as-is:
     48
     49{{{
     50<IfModule mod_ssl.c>
     51    Listen 443
     52</IfModule>
     53}}}
     54
    4655With these two steps out of the way you now have an Apache setup which will listen for and accept SSL connections. The next step is to modify your virtualhosts to use it.
    4756
    4857 === Configuring your SSL Hosts ===
    4958The final step is to ensure that your virtual hosts, or main host, will accept SSL options
     59
     60Configure HTTPS over port 443 (edit /etc/apache2/sites-available/default-ssl):
     61
     62{{{
     63NameVirtualHost *:443
     64(Note: Look down just a bit and make a change to the virtual host settings.)
     65<VirtualHost *:443>
     66ServerName localhost
     67DocumentRoot /var/www-ssl/html/
     68(Note: Again, use your assigned IP or a DNS name followed with ":443" if you have one for ServerName.)
     69}}}
     70