File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes https problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "https problem" Watch "https problem" New topic
Author

https problem

Predrag Ristic
Greenhorn

Joined: Dec 07, 2009
Posts: 28
I have installed Tomcat 7 on my CentOS 6 virtual machine.I changed http port to 9090 and I can acces the url http://localhost:9090. Configuration for https is : but I cannot access https://localhost:8443
I have turned off firewall on CentOS.Can anyone help with this problem?Thanks.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

What do you get?

Is the certificate installed locally on your browser?

Check the browser and see if the "key" icon is active.

WP
Predrag Ristic
Greenhorn

Joined: Dec 07, 2009
Posts: 28
It just says "Problem loading page.Firefox can't establish connection".Keystore file was generated by me via keytool command
Vinod Tiwari
Ranch Hand

Joined: Feb 06, 2008
Posts: 466
    
    1

You need to add the certificate. Please refer this troubleshooting post.


Vinod Tiwari | Twitter | Shikshanirman | Guftgu
Predrag Ristic
Greenhorn

Joined: Dec 07, 2009
Posts: 28
I don't get warning about certificates.It simply says that firefox can't establish connection.Chrome says that attempt to connect was rejected.Connecton via http port works.
Predrag Ristic
Greenhorn

Joined: Dec 07, 2009
Posts: 28
Problem was with the relative path to keystore file.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: https problem