Return to Snippet

Revision: 20897
at November 30, 2009 09:51 by sergheiistrati


Initial Code
<Connector port="8443" minSpareThreads="5" maxSpareThreads="75"
           enableLookups="true" disableUploadTimeout="true" 
           acceptCount="100"  maxThreads="200"
           scheme="https" secure="true" SSLEnabled="true"
		   keystoreType="PKCS12" keystoreFile="C:/keystore.p12" keystorePass="password"
		   truststoreType="PKCS12" truststoreFile="C:/keystore.p12" truststorePass="password"
           clientAuth="true" sslProtocol="TLS"/>

Initial URL

                                

Initial Description
'keytool' can be used to generate the certificate.
keystore is setup for server certificate.
truststore is setup for client certificate validation. To enable the client certificate validation 'clienAuth=true'.

Add the code to server.xml

Initial Title
HTTPS Tomcat configuration

Initial Tags

                                

Initial Language
XML