I'm trying to configure tomcat to work https port 8443.
using tomcat 7.
I enabled the https connectors with the following parameters:
<Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" keystorePass="<pass>"
maxThreads="150" scheme="https" secure="true" keystoreFile="${catalina.base}/foo/bar.keystore"
clientAuth="false" sslProtocol="TLS" />
I created a keystore with the password and the domain required.
when I start tomcat and browse for the admin panel or for my jsp page using port 8443 i get scrumbled unidentified data. which means that i get https encrypted data passed over http. when i browse on port 8080 i see it properly. what am I missing ?
thank you!
kfir
update
I have this configuration in server.xml
<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
and I have this in the log:
May 02, 2013 5:57:45 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/package
so maybe this is the problem.
it's just an INFO so I ignored it. but maybe because of missing APR the SSLEngine is not working.
I have gentoo linux and I have the APR package installed I have no idea why it doesn't detect it.