HTTP to HTTPS redirection

HTTP to HTTPS redirection

Customer should be running the application in https with 443 port.

> ChangeWebServerport.bat 443 https

Once the ports are updated, Follow the steps given below to setup the redirection from HTTP to HTTPS,
  1. Go to the folder C:\\ManageEngine\\SupportCenter\\server\\default\\deploy\\jbossweb-tomcat50.sar and open the file server.xml with WordPad.
  2. Find the below entry in the file server.xml 
    <¡-- A HTTP/1.1 Connector on port 8080 -->
    <¡-- The compression parameters are taken from the default Tomcat server.xml-->
    <¡--Connector port="8080" address="${jboss.bind.address}"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="8443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true"
    compression="off"
    compressionMinSize="2048"
    setBodyEncodingForURI="true"
    noCompressionUserAgents="gozilla, traviata"
    compressableMimeType="text/html,text/xml,text/plain"/-->
    Remove '¡--' which is before Connector port="8080" address="${jboss.bind.address}" and then remove -- which is after compressableMimeType="text/html,text/xml,text/plain"/
    Change the value 8080 to 80 and 8443 to 443 and save the file.
    So after the changes the entry should be as shown below.
    <¡-- A HTTP/1.1 Connector on port 8080 -->
    <¡-- The compression parameters are taken from the default Tomcat server.xml-->
    <Connector port="80" address="${jboss.bind.address}"
    maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
    enableLookups="false" redirectPort="443" acceptCount="100"
    connectionTimeout="20000" disableUploadTimeout="true"
    compression="off"
    compressionMinSize="2048"
    setBodyEncodingForURI="true"
    noCompressionUserAgents="gozilla, traviata"
    compressableMimeType="text/html,text/xml,text/plain"/>
  3. Go to the folder C:\\ManageEngine\\SupportCenter\\applications\\extracted\\AdventNetSupportCenter.eear\\
    AdventNetServiceDeskWC.ear\\AdventNetServiceDesk.war\\WEB-INF

    Edit the web.xml file and search for the content below and add the lines in bold / highlighted. 
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>Secured Core Context>/web-resource-name>
    <url-pattern>/jsp/*</url-pattern>
    <url-pattern>/tasks/*</url-pattern>
    <url-pattern>/debug/*</url-pattern>
    <url-pattern>*.do</url-pattern>
    <url-pattern>*.cc</url-pattern>
    <url-pattern>/servlet/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>*</role-name>
    </auth-constraint>
    <user-data-constraint>
    <transport-guarantee>CONFIDENTIAL</transport-guarantee>
    </user-data-constraint>

    </security-constraint>
  4. Restart the service ManageEngine SupportCenterPlus service.
                  New to ADManager Plus?

                    New to ADSelfService Plus?

                      • Related Articles

                      • HTTP to HTTPS redirection (Version 11.0)

                        Please do refer to the below steps for HTTP to HTTPS redirection. 1. The Application should be running on port 443 with HTTPS. ChangeWebServerport.bat 443 HTTPS - the command to change the port to 443 with HTTPS under ManageEngine\SupportCenter\bin ...
                      • How to take a connection dump for analyzing performance issues?

                        For Performance/slowness issues instead of taking Threaddump manually or instead of invoking PerformanceTool make use of the below URL when the issue occurs, http://servername:portnumber/servlet/PerformanceDebug Note: The above URL works even when ...
                      • How to configure SAML with Azure AD

                        This guide will help us configure SAML for users who want to use Azure AD as their IdP and also give you insights on a few issues that you might run into while configuring SAML in an Azure Environment. In an ideal environment, customers will have an ...
                      • Microsoft Graph troubleshooting and Solution.

                        Error traces: [14:40:47:056]|[02-13-2024]|[com.manageengine.mdh.MDHFilter]|[INFO]|[1561]: PORTALID : 1| [14:40:47:073]|[02-13-2024]|[com.manageengine.servicedesk.authentication.oauth.util.OauthUtil]|[INFO]|[1561]: Authorization code obtained ...
                      • 11.0 Behavior changes wrt to admin operations

                        Module wise behavior changes : https://workdrive.zohoexternal.com/sheet/open/49yu6b27a538df41d4713b7ecdfbe3d0a5198 Settings wise behavior changes : https://workdrive.zohoexternal.com/sheet/open/6ji296663cae2c657417db16845f74c376f0e 11.0 Licensing ...