1 – Setup > 1.3 Viewpoint security configuration > Configuring HTTPS in Tomcat

Configuring HTTPS in Tomcat

The following instructions for running Viewpoint over HTTPS offer general procedures to accommodate a variety of possible specifications. If you require more specific instruction, consider reviewing the Tomcat documentation.

To configure HTTPS in Tomcat

  1. Open the server.xml file, usually located in $CATALINA_HOME/conf/ ($CATALINA_HOME represents the directory where Tomcat is installed).
  2. Verify the SSL HTTP/1.1 Connector entry is enabled. Do the following:
    1. Locate the SSL HTTP/1.1 Connector entry:
    2. <!--
        <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" />
      -->
    3. Uncomment the Connector element. (Remove <!-- at the beginning of the entry and --> at the end of the entry.)
    4. Save the file and restart Tomcat.
    5. The code above enables SSL access on port 8443. The default for HTTPS is 443, but just as Tomcat uses 8080 instead of 80 to avoid conflicts, 8443 is used instead of 443 here.

  3. Verify that folder permissions are owned by the Tomcat user. If you use Tomcat 6, the default user is tomcat6.
  4. #change ownership of tomcat directory
    chown -R tomcat6:tomcat6 /opt/tomcat

Related topics 

© 2013 Adaptive Computing