Setting Up SSL on Tomcat In 3 Easy Steps
Setting up SSL on Tomcat is easy and you don’t have to do much for converting your web application to work with the Https
protocol. But however, the problem you would find to set up SSL is the
documentation available over the web. The documentation source is
available on the Apache site but it starts off good and ends with a lot of confusion. Especially I was confused on the OpenSSL part where it says to use OpenSSL.
It might be good in a production environment to use OpenSSL but if
you just want to test out SSL with Tomcat alone then it is more than
enough to just have your JDK and Tomcat setups. So I would make you walk
through the same steps which I did while getting SSL up and running and
building a secured web app within a matter...
Friday, July 26, 2013
How to enable SSL in TOMCAT 6
How
to enable SSL in TOMCAT 6
Last Modified: 02/26/2009
To install and configure SSL support on Tomcat 6, you need to follow
these simple steps.
0. Download a default keystore
The "keytool" command is a
Key and Certificate Management Tool provided by Java. You can use
keytool command to generate public/private key pair or use it to import
a public key from a third party. The keystore is essentialy a "encrypted" and
passowrd protected file residing in your home directory (/home/cs144).
First download the deafult keystore file
and unzip it to your home directory.
/* Download the keystore file */
cs144@cs144:~$ wget http://oak.cs.ucla.edu/cs144/projects/project5/vm_keystore.zip
/*...
How to Configure HTTPS (SSL) in Tomcat 6 and 7 Java Web Server

How to Configure HTTPS (SSL) in Tomcat 6 and 7 Java Web Server
Setting SSL (Secure Socket Layer) in Tomcat is often a requirement, especially
while developing secure web application,
which requires access over https protocol. Since Tomcat web server doesn't
provide SSL settings by default, you need to know how to configure SSL in
tomcat, and even worse it varies between different tomcat versions. for Example
SSL setup which works on tomcat 6, doesn't work as it is in tomcat 7. In this
article we will see, how to configure tomcat for https in both tomcat 6 and 7. For
those programmers who are not very familiar with SSL and https here...