Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

https problem

 
Predrag Ristic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It just says "Problem loading page.Firefox can't establish connection".Keystore file was generated by me via keytool command
 
Vinod Tiwari
Ranch Hand
Posts: 466
1
IntelliJ IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add the certificate. Please refer this troubleshooting post.
 
Predrag Ristic
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem was with the relative path to keystore file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic