I use Tomcat 7 and will enable the SSL Connector. Actuall i have edit this solution to the server.xml file:
There are two ways to implement SSL on TOMCAT
(APR implementation of SSL and JSSE implementation of SSL)
The difference is that the JDK is using it's own SSL implementation, while the APR it's using what's installed on the computer, i.e. OpenSSL in most cases.
Creating a Keystore file
(windows-os) in comand prompet cmd [cd $JAVA_HOME/bin]
keytool -genkey -alias tomcat -keyalg RSA
(Configuring Tomcat's SSL Connectors) in (..\Tomcat 8.0\conf\server.xml)
Creating a Keystore file using Java
(Configuring Tomcat's SSL Connectors) in (..\Tomcat 8.0\conf\server.xml)
http://java.dzone.com/articles/setting-ssl-tomcat-5-minutes
http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html