Changes between Version 9 and Version 10 of Internal/LoginService/SSL
- Timestamp:
- Mar 14, 2012, 12:51:04 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/LoginService/SSL
v9 v10 37 37 }}} 38 38 39 === Instruct Apache to listen to 443 === 39 40 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 41 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 42 42 43 43 {{{ 44 44 Listen 443 45 45 }}} 46 47 Your 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 46 55 With 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. 47 56 48 57 === Configuring your SSL Hosts === 49 58 The final step is to ensure that your virtual hosts, or main host, will accept SSL options 59 60 Configure HTTPS over port 443 (edit /etc/apache2/sites-available/default-ssl): 61 62 {{{ 63 NameVirtualHost *:443 64 (Note: Look down just a bit and make a change to the virtual host settings.) 65 <VirtualHost *:443> 66 ServerName localhost 67 DocumentRoot /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