Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added different AJP connector port

...

Code Block
xml
xml
<Server port="9005" shutdown="SHUTDOWN">
...

    <!-- http configuration -->
    <Connector port="9080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="9443" />

    ...

    <!-- https configuration -->
    <Connector port="9443" protocol="HTTP/1.1" SSLEnabled="true"
               maxThreads="150" scheme="https" secure="true"
               keystoreFile="tomcat-idp.jks"
               keystorePass="tompass" sslProtocol="TLS" />
   ...
 
   <Connector port="9009" protocol="AJP/1.3" redirectPort="9443" />

...
</Server>

The keystoreFile is relative to $CATALINA_HOME. See here for the Tomcat 7 configuration reference. This page also describes how to create certificates. Sample Tomcat keystores (not for production use, but useful for demoing Fediz and running the sample applications) are provided in the examples/samplekeys folder of the Fediz distribution.

...