9fb29e521e21e2de700c574745aba26123d4bb94
wiki/ssl-support.md
| ... | ... | @@ -2,6 +2,13 @@ |
| 2 | 2 | |
| 3 | 3 | On sapsailing.com, we have a security certificate installed. For root users its key is visible at `/etc/pki/tls/private/star_sapsailing_com.key`. The certicicate is at `/etc/pki/tls/certs/star_sapsailing_com.crt`. To enable SSL on a server, the module `mod_ssl` needs to be installed. Use ``yum install mod_ssl``. |
| 4 | 4 | |
| 5 | +The `/etc/httpd/conf/httpd.conf` file must contain the following in order to ensure that the `ServerName` setting is respected for selecting the appropriate `VirtualHost` element: |
|
| 6 | + |
|
| 7 | +<pre> |
|
| 8 | + NameVirtualHost *:80 |
|
| 9 | + NameVirtualHost *:443 |
|
| 10 | +</pre> |
|
| 11 | + |
|
| 5 | 12 | When this is done, the server can use the following sequence of directives inside a <VirtualHost> element: |
| 6 | 13 | |
| 7 | 14 | <pre> |