Community and Support

            HTTP to HTTPS Redirection

            Below mentioned steps will allow you to redirect all the HTTP(port 80) requests on
            OpManager
            application (e.g. http://localhost) to HTTPS(port 443) (https://localhost). Before proceeding, ensure your SSL certificate is successfully installed so you can access OpManager through https://localhost.

            Note: Take a backup of the files before replacing in the actual location.

             

            1. Stop OpManager Service.

            2. Go to the folder C:\ManageEngine\OpManager\conf and open the file server.xml with WordPad. Find the below entry in the file server.xml


                <!--Connector port="80"
                           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="80" and then remove -- which is after connectionTimeout="1800000" disableUploadTimeout="true".

            4. Change/update the value of port as 80(if you have any other ports specified previously) and
            redirectPort
            as 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 C:\ManageEngine\OpManager\WEB-INF\web.xml
            Edit the web.xml file and search for the content below and add the lines
            in  highlighted
            .

            <security-constraint>
                    <web-resource-collection>
                        <web-resource-name>Secured Core Context</web-resource-name>
                        <url-pattern>*.do</url-pattern>
                        <url-pattern>*.cc</url-pattern>
                        <url-pattern>*.ma</url-pattern>
                        <url-pattern>*.ve</url-pattern>
                        <url-pattern>*.pdf</url-pattern>
                        <url-pattern>*.csv</url-pattern>
                        <url-pattern>*.de</url-pattern>
                    </web-resource-collection>
                    <auth-constraint>
                        <role-name>*</role-name>
                    </auth-constraint>
                <user-data-constraint>
                    <transport-guarantee>INTEGRAL</transport-guarantee>
                </user-data-constraint>

                </security-constraint>
             
            7. Start OpManager Service.
            Updated: 28 Aug 2018 03:06 AM
            Helpful?  
            Help us to make this article better
            0 1