How to run tomcat over ssl..........
Do the following step
1)Go to the $JAVA_HOME/bin and Create a keystore file(say test.keystore) using the keytool command
keytool -genkey -alias testtomcat -keyalg RSA -keystore /root/nikapps/test.keystore
2)Configure the server.xml file of tomcat server u r using
<Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol" SSLEnabled="true"
maxThreads="150" keystoreFile="/root/nikapps/test.keystore" keystorePass="changeit" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
maxThreads="150" keystoreFile="/root/nikapps/test.keystore" keystorePass="changeit" scheme="https" secure="true"
clientAuth="false" sslProtocol="TLS" />
3)start the tomcat server and open the browser type https://localhost:8443