• 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
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Tomcat SSL not working

 
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.....
 
Sheriff
Posts: 21759
102
Eclipse IDE Spring VI Editor Chrome Java Ubuntu 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.
 
Ranch Hand
Posts: 344
Oracle Java Linux
  • 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.
 
Bartender
Posts: 20838
125
Android Eclipse IDE Tomcat Server Redhat Java 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
Boost this thread!