Software AG Products 10.11 | Using Developer Portal | HTTPS Port Configuration | Configuring an HTTPS Port
 
Configuring an HTTPS Port
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:
a. Open the com.softwareag.catalina.connector.http.pid-dpo.properties file from the location, SAGInstallDir\profiles\CTP\configuration\com.softwareag.platform.config.propsloader.
b. 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
c. Save the file.
2. Configure security constraint by following these steps:
a. Open the web.xml file from the location, SAGInstallDir\profiles\CTP\configuration\tomcat\conf.
b. 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>
c. 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.