Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat SSL not working

 
Nilesh Attargekar
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI,

My Tomcat SSL is not working even after hundreds of tries....

Details:

I created the Keystore using:

keytool -genkey -alias tomcat -keyalg RSA

then i modified my Server.xml file with following code:


I also modified the following code and changed it to 'off':

<Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="off" />

I tried using 'https://localhost:8443', but the webpage showing error as:

This webpage is not available
Google Chrome's connection attempt to localhost was rejected. The website may be down, or your network may not be properly configured.
------------

Please help me on it....

My Server.xml file looks like:
---------------------


---------------------------------------------------
Please help.....
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch!
Can you please UseCodeTags next time? I've added them for you this time, using XML as the code type, and see how it improves your code's readability.
 
Koen Aerts
Ranch Hand
Posts: 344
Java Linux Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does your tomcat log file say? I.e. when you start tomcat and when you send a request to port 8443.
 
Tim Holloway
Saloon Keeper
Posts: 18303
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Google Chrome's connection attempt to localhost was rejected. The website may be down, or your network may not be properly configured.


This message is often seen when a firewall is blocking access to the server.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic