Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleCertificate Label must not have trailing blanks

Be careful not to include any leading or trailing blanks when entering the Certificate Label into DCM. Additional blank spaces may cause the SSLServerCert directive to be unable to match the namelabel.


Assume you have two certificates defined to Application Name QIBM_HTTP_SERVER_EXAMPLE, named labeled Example1 and Example2, to be used for named Virtual Hosts example1.com and example2.com, respectively.  Your VirtualHost containers would look something like this:

Listen 10.1.2.3:443

<VirtualHost 10.1.2.3:443>
....(some more stuff here)


SSLEngine On 
SSLAppName QIBM_HTTP_SERVER_APACHE 
SSLServerCert Example1


ServerName example1.com
...(some more stuff here)
</VirtualHost>

<VirtualHost 10.1.2.3:443> 
...(some more stuff here)


SSLEngine On 
SSLAppName QIBM_HTTP_SERVER_APACHE 
SSLServerCert Example2


ServerName example2.com
...(some more stuff here)
</VirtualHost>


Warning
titlePlease remember that if the Virtual Host was created in the Zend Server UI, you should modify the template in the UI, and not go directly to the include file to edit it there.