System Administration IBM HTTP Server documentation

Defining Secure Sockets Layer for multiple-IP virtual hosts

You can define different Secure Sockets Layer (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 you do not define an SSL directive on a virtual host, the server uses the directive default.

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

  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 you want enabled for that particular virtual host. You can specify any directive, except the cache directives inside a virtual host.
  3. Restart the server.
 
Finding related information