Configuring an HTTPS Port

About this task

This section explains the steps to redirect the incoming requests to an HTTPS port.

To configure an HTTPS port:

  1. Configure the redirect port number by following these steps:
    1. Open the com.softwareag.catalina.connector.http.pid-dpo.properties file from the location, SAGInstallDir\profiles\CTP\configuration\com.softwareag.platform.config.propsloader.
    2. Provide the HTTPS port number in the redirectPort property.
      Sample configuration
      redirectPort=18102
      After configuration
      maxHttpHeaderSize=8192
      maxThreads=10
      minSpareThreads=0
      enableLookups=false
      acceptCount=100
      connectionTimeout=20000
      disableUploadTimeout=true
      server=SoftwareAG-Runtime
      alias=defaultHttp
      protocol=HTTP/1.1
      port=18101
      redirectPort=18102
      enabled=true
      maxSpareThreads=1
    3. Save the file.
  2. Configure security constraint by following these steps:
    1. Open the web.xml file from the location, SAGInstallDir\profiles\CTP\configuration\tomcat\conf.
    2. Add the following lines to the file:
      <security-constraint>
         <web-resource-collection>
            <web-resource-name>Entire Application</web-resource-name>
            <url-pattern>/*</url-pattern>
         </web-resource-collection>
         <user-data-constraint>
            <transport-guarantee>CONFIDENTIAL</transport-guarantee>
         </user-data-constraint>
      </security-constraint>
    3. Save the file.
  3. Restart the Software AG Runtime service.
  4. Lauch your browser and access Developer Portal using the following URL, http://hostname/18101/portal.

    You will be redirected to the HTTPS port, 18102.