0% found this document useful (0 votes)
80 views

TomcatSSL Error

The document summarizes configuring Tomcat to use HTTPS with a keystore file. It describes generating a keystore file, placing it in Tomcat's webapps directory, and configuring the HTTPS connector in server.xml to reference the keystore file and password. While the HTTP port is working, the HTTPS port results in an error.

Uploaded by

satyanarayana
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
80 views

TomcatSSL Error

The document summarizes configuring Tomcat to use HTTPS with a keystore file. It describes generating a keystore file, placing it in Tomcat's webapps directory, and configuring the HTTPS connector in server.xml to reference the keystore file and password. While the HTTP port is working, the HTTPS port results in an error.

Uploaded by

satyanarayana
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

My Enviroment is : Java: C:\Program Files\Java\jdk1.6.0\bin Tomcat : D:\Apache Software Foundation\Tomcat 6.0 Generating the KeyStore file C:\Program Files\Java\jdk1.6.

0\bin keytool -genkey -alias techtracer -keypass ttadmin -keystore techtracer.bin -storepass ttadmin Configured Tomcat for using the Keystore file 1. My http port no : <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> 2. . Put the techtracer.bin file in the webapps directory of Tomcat 3. Configured Https Port <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true" maxThreads="150" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="../webapps/techtracer.bin" keystorePass="ttadmin" /> I started the server with http://localhost:8080 Its working fine But while its not working fine with https://localhost:8443

keytool -genkey -alias gopal123 -keypass gopal123 -keystore gopal123.cer -storepass gopal123

You might also like