Block access to http:// on port 80 in SPECTRUM OneClick

Document ID : KB000050709
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Having enabled ssl for the OneClick install, I would like to block access to the non-secure http:// webpage.

How can we disable access to http://<machinename>:80.

Solution:

In the file

<specroot>\tomcat\conf\server.xml

Make a backup of this file before you edit it.

Find the sections that defines the http;// on 80

**           
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
  <Connector port="80" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
  enableLookups="true" redirectPort="443"  acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true">
 And comment the whole section out:
<!--
<!-- Define a non-SSL HTTP/1.1 Connector on port 8080 -->
  <Connector port="80" maxHttpHeaderSize="8192" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" 
enableLookups="true" redirectPort="443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" />
  <!-- Define a SSL Coyote HTTP/1.1 Connector on port 443 -->   
-->   

Recycle the spectrum tomcat service

On windows use windows service control

On unix

<specroot>/tomcat/bin/stopTomcat.sh

And

<specroot>/tomcat/bin/startTomcat.sh