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:
- Configure the redirect port
number by following these steps:
- Open the com.softwareag.catalina.connector.http.pid-dpo.properties file from the location, SAGInstallDir\profiles\CTP\configuration\com.softwareag.platform.config.propsloader.
- Provide the HTTPS port
number in the
redirectPort property.
Sample configuration
After configurationredirectPort=18102maxHttpHeaderSize=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 - Save the file.
- Configure security
constraint by following these steps:
- Open the web.xml file from the location, SAGInstallDir\profiles\CTP\configuration\tomcat\conf.
- 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> - Save the file.
- Restart the Software AG Runtime service.
- Lauch your browser and
access Developer Portal using the following URL,
http://hostname/18101/portal.
You will be redirected to the HTTPS port, 18102.