How do you set up standalone Tomcat 3.x to use HTTPS?
Created May 8, 2012
First you need to set up a server certificate, and you need JSSE.
Then, you need to uncomment the HTTPS connector that follows these instructions in the server.xml file:
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
Obviously changing the port number according to your needs.
Add:
security.provider.2=com.sun.net.ssl.internal.ssl.Provider
RSA is essential to work with Netscape and IIS.
Use "changeit" as password. ( or add keypass attribute )
You don't need to sign the certificate.
<Parameter name="handler"
value="org.apache.tomcat.service.http.HttpConnectionHandler"/>
<Parameter name="port" value="8443"/>
<Parameter name="socketFactory"
value="org.apache.tomcat.net.SSLSocketFactory" />
</Connector>