Step 1
Windows[goto Command]
%JAVA_HOME%\bin\keytool -genkey
Enter all the details which keytool is going to prompt. (rememeber the password)
once you done, please go to your [USER_HOME](document & settings), locate the .keystore.
Copy this file and paste in tomcat root folder.
Step 2
Open [tomcat_home]/conf/server.xml
uncomment the SSL config entry. And configure the SSL certificate info.[see beloe]
<Connector port=”8443″ protocol=”HTTP/1.1″ SSLEnabled=”true”
maxThreads=”150″ scheme=”https” secure=”true”
clientAuth=”false” sslProtocol=”TLS” keystoreFile=”.keystore” keystorePass=”12345678? />
Step 3
Start tomcat
[tomcat_home]/bin/start-up.bat
in tomcat console you will see a message
INFO: Initializing Coyote HTTP/1.1 on http-8443
Now open a new browser and type https://localhost:8443/.
Recent Comments