Difference between revisions of "Tomcat 6 SSL"
m (1 revision imported) |
|
(No difference)
|
Latest revision as of 12:52, 11 May 2017
Contents
Overview
Additional configuration to Tomcat to allow SSL.
Prerequisites
Tomcat 6 PINsafe 3.x
Symptoms
org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystoreFile' to 'conf\certificate\.keystore' did not find a matching property. org.apache.catalina.startup.SetAllPropertiesRule begin WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting property 'keystorePass' to 'password' did not find a matching property.
and
SEVERE: Error initializing endpoint java.lang.Exception: Invalid Server SSL Protocol SEVERE: Catalina.start LifecycleException: Protocol handler initialization failed: java.lang.Exception: Invalid Server SSL Protocol
Solution
Add protocol=”org.apache.coyote.http11.Http11NioProtocol” to the server.xml file in <path to Apache Tomcat>\Tomcat 6.0\conf
Example:
C:\Program Files\Apache Software Foundation\Tomcat 6.0\conf\server.xml
Example:
From:
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" />
To:
<Connector port="8443" protocol=”org.apache.coyote.Http11NioProtocol” SSLEnabled="true” maxThreads="150" scheme="https" secure="true” clientAuth="false" sslProtocol="TLS" />