Forcing an SSL connection using RWP

To force processing of non-SSL requests as SSL requests, using RWP, do the following:

  1. Add or modify the virtualhost settings in httpd.conf to include the following commands:
    <VirtualHost *:80>
    ServerName yourservername
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://yourservername$1 [R]
    RewriteLogLevel 0
    RewriteLog "C:/Program Files/Rational/common/rwp/IHS/logs/rewrite.log"
    </VirtualHost>
    Note: Ensure these commands are placed appropriately in the httpd.conf file, to execute before the load of the WebSphere Application module and before the load of the WebSphere Plug-in module.
  2. Include the ssl.conf file by adding the following commands:
    #
    # include ssl information
    #
    Include conf/ssl.conf
  3. Edit the ssl.conf file, providing the correct SSL certificate path information.


Feedback