1. First create a certificate KeyStore with a tool keytore with JDK
Java_home / bin / keytool -genkey -alias tomcat -keyalg rsa / -keystore / path / to / my / keystore
2. If you are JAVA Secure Socket Extensions (JSSE), Version 1.0.2 or Later, and JAVA_HAR, JNET.JAR, JAVA_HOME / JRE / LIB / EXT If it is JDK1.4.x already there is already these packages.
3. Modify the server.xml file under the Tomcat directory, add connectionor>
The value of the keystorepass is the password entered when generating the keystore.
Restart Tomcat, you can use HTTPS.