Enabling SSL for Apache
The mod_ssl module allows you to enable SSL support on your Apache web server and is needed to enable Apache for SSL requests (HTTPS).
Zend Server includes support for the ssl_module, but this needs to be loaded in order to activate it. To load the mod_ssl module, you need to provide an SSL certificate and key file (keypair). These files can be acquired from an official SSL certificate provider or be self-signed.
|
To enable SSL for Apache on Windows:
|
The mod_ssl module is loaded. |
|
To learn how to enable SSL on Linux, we recommend referring to the relevant distribution documentation: |
Refer to IBM's Digital Certificate Manager documentation for information on how to create an SSL certificate in IBM Apache at: http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/topic/rzahu/rzahu.pdf.
Once the SSL certificate is created, add the following lines to the Zend Server Apache configuration file (located in '/www/zendphp74/conf/httpd/conf'):
## SSL start
Listen *:443
SSLEngine On
SSLAppName <SSL Application created by the SSL wizard>
SetEnv HTTPS_PORT 443
## SSL end
Your next step is to create a new SSL-enabled virtual host. For information on working with virtual hosts in Zend Server, see Working with Virtual Hosts.