Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SSL implementation giving blank page

 
Yatrik Buch
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,


I am using JBOSS 4.2 AS.


I have implemented SSL on 8443 and then added logic for http to https redirection in my application's web.xml.

It works fine but shows port number in URL.

to resolve this I changed the port to 443.

Now it does not show port number in URL and also redirects from http to https but shows a blank page.


when port number is 8443 it redirects and displays page properly.


Please suggest.


Thanks

Yatrik
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do your connector configurations look like in the server.xml? Also can you post the initial server startup logs which show the port to which the connectors are bound?
 
Yatrik Buch
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

my server.xml entry -



The Log -


 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use code blocks while posting code, xml or logs. I've formatted your post to wrap the xml and log in code blocks.

Are you sure the HTTPS connector you have has the correct values for the attributes like keystoreFile? By the way, the log message I was interested will be available in server.log file and will look something like this:

16:19:21,647 INFO [Http11Protocol] Initializing Coyote HTTP/1.1 on http-127.0.0.1-8080
16:19:21,648 INFO [AjpProtocol] Initializing Coyote AJP/1.3 on ajp-127.0.0.1-8009

What does it look like for you?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic