Reverse proxy setup with Secure Sockets Layer

+

Search Tips   |   Advanced Search

 

Reverse proxy setup with Secure Sockets Layer

Use the configuration examples in this topic to set up a reverse proxy with SSL.

A company, www.mycompany.com, wants to act as a reverse proxy for a resource that is hosted on the secure site of internal.mycompany.com. The example configuration for www.mycompany.com follows:

<VirtualHost *:80>
ServerName host1
SSLProxyEngine On
KeyFile "c:/program files/ibm http server/clientkey.kdb"
ProxyPass /ssl/password.html https://examplehost/password.html
</VirtualHost>


The example configuration for internal.mycompany.com follows:

<VirtualHost *:443>


SSLEnable KeyFile "c:/program files/ibm http server/serverkey.kdb" </VirtualHost>

When a browser requests http://www.mycompany.com/ssl/password.html, IBM HTTP Server makes a connection to internal.ibm.com using SSL. If internal.mycompany.com requires a client certificate, IBM HTTP Server uses the default certificate of the KeyFile for which it is configured.


 

Related reference



SSL directives