Define SSL for multiple-IP virtual hosts

+

Search Tips   |   Advanced Search

 

Define SSL for multiple-IP virtual hosts

We can define different SSL options for various virtual hosts, or multiple servers running on one machine. In the configuration file, define each SSL directive in the stanza for the virtual host to which the directive applies. When we do not define an SSL directive on a virtual host, the server uses the directive default.

 

Overview

The default disables SSL for each virtual host. To enable SSL:

 

Procedure

  1. Specify the SSLEnable directive on the virtual host stanza in the configuration file, to enable SSL for a virtual host.

  2. Specify a Keyfile directive and any SSL directives we want enabled for that particular virtual host. We can specify any directive, except the cache directives inside a virtual host.

  3. Restart the server.