Configuring Server for HTTPS Redirection
  • Updated on 05 Mar 2019
  • 1 minute to read
  • Print
  • Dark
    Light

Configuring Server for HTTPS Redirection

  • Print
  • Dark
    Light

The Decisions portal can be configured to force users to use SSL (HTTPS) connections by redirecting HTTP requests to HTTPS. The following describes how to configure your server to do HTTPS redirection.

Example

IIS Configuration:
Configure IIS for HTTPS. To do so follow Microsoft's instructions found here .

I nstall the IIS URL Rewrite Module found here .

Decisions Installation/Configuration:
Install Decisions.  During the installation wizard, configure base URL to be https://{urlToDecisionsPortal }
1_PortalBaseURL.png

If you are already installed, then you can edit the settings.xml file and modify your "PortalBaseURL" setting to include https.
This document can be found: C:\Program Files\Decisions\Decisions Services Manager\settings.xml

After installation, edit the web.config file found at: C:\Program Files\Decisions\Decisions Web Host\web.config .
Just before the tag add the following block.

 <system.webserver>
  <rewrite>
    <rules>
      <rule name="Redirect to HTTPS" stopprocessing="true">
        <match url="(.*)"></match>
          <conditions>
            <add input="{HTTPS}" pattern="off" ignorecase="true"></add>
          </conditions>
          <action type="Redirect" url="https://{HTTP_HOST}{REQUEST_URI}" redirecttype="Permanent"></action>
      </rule>
    </rules>
  </rewrite>
</system.webserver>

Now any requests made to the HTTP address should be redirected to the HTTPS address.

Was this article helpful?