Table of Contents

Apache Tomcat

Installation

bash# yum -y install tomcat6 tomcat-native

Configuration

cf http://tomcat.apache.org/tomcat-6.0-doc/ssl-howto.html et http://tomcat.apache.org/tomcat-6.0-doc/apr.html

Connecteur HTTPS

/etc/tomcat6/server.xml

...
    <Connector port="8443" protocol="HTTP/1.1" maxThreads="150" scheme="https" secure="true"
               SSLEnabled="true"
               SSLProtocol="TLSv1"
               SSLCertificateFile="/etc/tomcat6/sso.example.com-cert.pem"
               SSLCertificateKeyFile="/etc/tomcat6/sso.example.com-key.pem"
               SSLPassword="password"/>
...

Activation du service au démarrage

bash# service tomcat6 start
bash# service tomcat6 status
bash# netstat -tanp|grep java
bash# chkconfig tomcat6 on