How to redirect from HTTP to HTTPS - ServiceDesk Plus

How to redirect ServiceDesk Plus URL from HTTP to HTTPS

Follow the steps given below to set up the redirection from HTTP to HTTPS,



For version 9.4 and above

  • Step 1: Go to the below location and open the file 'server.xml' with a word pad and add the below entry in the file as shown in the image.

Environments running version 9.4 and above can find the server.xml file in directory 

[SDP-Home]\conf




<Connector port="80" redirectPort="443"/>








Step 2: Go to [SDP-Home]\webapps\ROOT\WEB-INF\ directory  and 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>

Note: Set the XML file encoding to UTF-8 when saving the file. For eg.,This encoding can be done on Notepad by clicking Save as option and selecting UTF-8 option under Encoding.

Step 3: Restart the service ManageEngine ServiceDesk Plus.












For version 9.3 and below






Environments running version 9.2 and 9.3 (Tomcat version 7) can find the server.xml file in directory

[SDP-Home]\server\default\deploy\jbossweb-tomcat70.sar




Environments running version 9.1 and below (Tomcat version 5) can find server.xml file in directory  

[SDP-Home]\server\default\deploy\jbossweb-tomcat50.sar 





and then locate the entries in the file as below.






<!-- 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="443" 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"





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"/>





  1. Step 2: Got to [SDPHome]\applications\extracted\AdventNetServiceDesk.eear\AdventNetServiceDeskWC.ear\AdventNetServiceDesk.war\WEB-INF and 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>




  • Step 3:  Restart the service ManageEngine ServiceDesk Plus.

        New to ADManager Plus?

          New to ADSelfService Plus?

            • Related Articles

            • Host ServiceDesk Plus on the Internet

              In order to make ServiceDesk Plus available for users on Internet, let us assume the following scenarios. Scenario 1: ServiceDesk Plus is installed in LAN and should be available in LAN and WAN: Assume ServiceDesk Plus is installed on a server in the ...
            • How to migrate ServiceDesk Plus from one server to another

              Following are the steps to move data from the existing server to a new server, Step 1: Stop ManageEngine ServiceDesk Plus service. Step 2: Kindly Upgrade ServiceDesk Plus if required. Refer to the link below to check if you are in the latest version, ...
            • WhatsApp Integration with ServiceDesk Plus via Twilio

              This article provides steps for integrating ServiceDesk On-Premises with WhatsApp. Note: This integration is compatible with versions above 14600. Before you begin, ensure you've reviewed the following prerequisites: Ensure your ServiceDesk Plus ...
            • WhatsApp Integration with ServiceDesk Plus

              This article will guide you through the steps of installing the WhatsApp Integration with ServiceDesk Plus plugin. Note: This integration is compatible with versions above 14600. Pre-Requisites : Facebook account to create a business account. Ensure ...
            • Get to know your Exchange Web Services URL ( Connect URL )

              To use EWS for incoming ( or ) outgoing mail server settings, one needs to know the exact connect URL. Generally, the connect URL syntax will be like https://<your_server_name>/EWS/Exchange.asmx For Office365 users, the connect URL will be ...