This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat SSL not working

 
Nilesh Attargekar
Greenhorn
Posts: 1
  • 0
  • 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: 20393
46
Chrome Eclipse IDE Java Windows
  • 0
  • 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
  • 0
  • 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
Pie
Posts: 17639
39
Android Eclipse IDE Linux
  • 0
  • 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