Steps to Redirect application URL from HTTP to HTTPS

Steps to Redirect application URL from HTTP to HTTPS

Follow the steps given below to setup the redirection from HTTP to HTTPS:

1. Stop the Service.
2. Go to the folder NetFlow_Home\conf (or) OpManager_Home\conf (for version 12) and open the file server.xml with WordPad. Find the below entry in the file server.xml


<¡--Connector port="6060"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               debug="3" connectionTimeout="1800000"
               disableUploadTimeout="true"/-->

3. Remove '¡--' which is before Connector port="6060" and then remove -- which is after connectionTimeout="1800000" disableUploadTimeout="true".

4. Change the value 8080 to 80 and 8443 to 443 and save the file.

5. So after the changes the entry should be as shown below.

    <Connector port="80"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="443" acceptCount="100"
               debug="3" connectionTimeout="1800000"
               disableUploadTimeout="true" />

6. Go to the folder NetFlow_Home\webapps\ncm\WEB-INF\web.xml or OpManager_Home\WEB-INF\web.xml (for v12 and above)
Edit the web.xml file and search for the content below and add the lines in bold / highlighted.


        </auth-constraint>
<user-data-constraint>

        <transport-guarantee>INTEGRAL</transport-guarantee>
    </user-data-constraint>
    </security-constraint>

7. Start the ervice and check on the issue.

                  New to ADSelfService Plus?