Examples used below assume the Control-M Web Server is using port 18080 for HTTP and 8443 for HTTPS.
1. File ~/ctm_em/etc/emweb/tomcat/conf/server.xml Connectors should look like this:
Edit this:
<Connector port="18080" protocol="HTTP/1.1"
connectionTimeout="20000" redirectPort="8443" />
To This:
<Connector port="18080" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
<Connector port="8443" protocol="HTTP/1.1"
SSLEnabled="true"
maxThreads="150"
scheme="https"
secure="true"
clientAuth="false"
sslProtocol="TLS"
keystoreFile="conf/tomcat.keystore"
keystorePass="emdemo" />
2. File ~/ctm_em/etc/emweb/tomcat/conf/web.xml
Insert the following block just before the last line with a </web-app> tag:
<security-constraint>
<web-resource-collection>
<web-resource-name>JSS</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<user-data-constraint>
<transport-guarantee>CONFIDENTIAL</transport-guarantee>
</user-data-constraint>
</security-constraint>
3. Recycle the Control-M Web Server for the changes to take effect.
Additional Information:
- Only on Control-M/Enterprise Manager 8.0.00, where CAR00050450 was not fixed yet
- Edit the file ~/ctm_em/bin/EmwebStatus.pl
Make the following change twice (there are two identical lines like belowin this script), changing the value 200 to 302:
if (common::checkURL($host,$port) ne "200")
change to
if (common::checkURL($host,$port) ne "302")
- The http to https redirection is not supported since 9.0.20 version.