How to revert HTTPS mode to HTTP mode
search cancel

How to revert HTTPS mode to HTTP mode

book

Article ID: 338363

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

SYMPTOMS:

MnR/Watch4Net frontend URL not working using http port(58080)

Environment

Watch4Net/M&R-7.x

Resolution

If you want to access M&R in the HTTP mode, complete the following steps:

 Procedure

1. In the /opt/APG/Web-Servers/Tomcat/Default/conf/server.xml file, do the following:
 
a. Locate and remove the entry redirectPort="58443".


Before removing the entry redirectPort="58443", it appears as follows:

<Connector port="58080" protocol="HTTP/1.1"
 connectionTimeout="20000"
 compression="2048"/>
 redirectPort="58443" URIEncoding="UTF-8" /> 

After removing the entry redirectPort="58443", it must appear as follows:

<Connector port="58080" protocol="HTTP/1.1"
 connectionTimeout="20000"
 compression="2048"
 URIEncoding="UTF-8" />

b. Comment the following line:

<!--

<Valve className="com.watch4net.apg.v2.gui.tomcat.ForceSSL" />

-->

2. Restart the tomcat service from /opt/APG/bin directory by using the below command:

./manage-modules.sh service restart tomcat <instance name>

3. Clear the browser cache, and then log in using HTTP.

http://FQDN/IP:58080/APG/

Additional Information

When you install M&R , it is installed by default in the HTTPS mode.