aspose file tools*
The moose likes Tomcat and the fly likes Tomcat SSL not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat SSL not working" Watch "Tomcat SSL not working" New topic
Author

Tomcat SSL not working

Nilesh Attargekar
Greenhorn

Joined: Apr 05, 2012
Posts: 1
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

Joined: Oct 27, 2005
Posts: 19784
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Koen Aerts
Ranch Hand

Joined: Feb 07, 2012
Posts: 344

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

Joined: Jun 25, 2001
Posts: 16305
    
  21


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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat SSL not working