It is possible to redirect Workload Control Center ports 80 to 8080 and 443 to 8443?
search cancel

It is possible to redirect Workload Control Center ports 80 to 8080 and 443 to 8443?

book

Article ID: 46908

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent

Issue/Introduction

Summary

You can redirect the Workload Control Center ports 80 to 8080 and 443 to 8443.

 

Answer

To allow automatic redirection of http requests to https, the web.xml for all WCC services must be modified as follows:

 

1.    Locate the web.xml file which is in the $CA_WCC_INSTALL_LOCATION/tomcat/webapps/<service name>/WEB-INF directory

 

2.    Add the following to the end of web.xml, but before the ending tag: 

 

</web-app>

    <security-constraint>

        <web-resource-collection>

            <web-resource-name>Security page</web-resource-name>

            <url-pattern>/*</url-pattern>

            <http-method>GET</http-method>

            <http-method>POST</http-method>

        </web-resource-collection>

        <user-data-constraint>

            <transport-guarantee>CONFIDENTIAL</transport-guarantee>

        </user-data-constraint>

    </security-constraint> ? 

 

3. Add the following to $CA_WCC_INSTALL_LOCATION/tomcat/conf/server.xml (UNIX/Linux) or %CA_WCC_INSTALL_LOCATION%\tomcat\conf\server.xml (Windows)

<Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8" /> 

 

4.- Save the file and restart WCC services.

Environment

Release: ATSYHA99000-11.4-Workload Automation AE-High Availability Option
Component: