Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Problem about Tomcat7 SSL

 
Greenhorn
Posts: 22
Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
I've tried so many times but i still cant solve this problem
my server.xml looks like this(a part of it that has something to do with setting SSL Connector):

when i start my tomcat,it works perfectly but when i access [url=http://localhost:8443[/url]
i see the log and found this exception:


what has gone wrong??
please help........
 
Saloon Keeper
Posts: 22495
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming that http-bio-8443 is the connector that goes with that particular connector definition, you should look at the following:

1. Check to make sure that you have a valid keystore file (readable by keytool program) at C:\Tomcat\my.keystore.

2. Consider coding the path at C:/Tomcat/my.keystore in case the magical "other" meaning of backslashes in Java is causing trouble

3. Make sure that the Tomcat user can read and write the keystore

4. Make sure that the password you are using is correct. Remember that keystores can support both a password for the keystore itself AND individual keys. Although Tomcat cannot, so the same key value should be on both.
 
Zeonbong Wong
Greenhorn
Posts: 22
Tomcat Server Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Holloway wrote:Assuming that http-bio-8443 is the connector that goes with that particular connector definition, you should look at the following:

1. Check to make sure that you have a valid keystore file (readable by keytool program) at C:\Tomcat\my.keystore.

2. Consider coding the path at C:/Tomcat/my.keystore in case the magical "other" meaning of backslashes in Java is causing trouble

3. Make sure that the Tomcat user can read and write the keystore

4. Make sure that the password you are using is correct. Remember that keystores can support both a password for the keystore itself AND individual keys. Although Tomcat cannot, so the same key value should be on both.



thanks for your help!i solved it!
 
That which doesn't kill us makes us stronger. I think a piece of pie wouldn't kill me. Tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic