Setup SSL on Apache Tomcat

In this tutorial we explain how you can access your Apache Tomcat via a SSL (HTTPS) connection. 1. Prerequisites Install Apache Tomcat as explained here¬†Install Apache Tomcat on Windows JDK is installed correctly 2. Generate self-signed certificate First we have to generate a self-signed certificate and encryption key to secure our connection. In command line enter: C:\>cd %JAVA_HOME%/bin C:\Program Files\Java\jdk1.8.0_45\bin>keytool -genkey -alias tomcat -keyalg RSA You will be asked to enter some information about your name, company etc.: C:\Program Files\Java\jdk1.8.0_45\bin>keytool -genkey -alias tomcat -keyalg RSA Enter keystore password: What is…

Read More