aspose file tools*
The moose likes JBoss/WildFly and the fly likes SSL implementation giving blank page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "SSL implementation giving blank page" Watch "SSL implementation giving blank page" New topic
Author

SSL implementation giving blank page

Yatrik Buch
Greenhorn

Joined: Dec 18, 2007
Posts: 5
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

Joined: Jul 20, 2005
Posts: 10202
    
166

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?

[My Blog] [JavaRanch Journal]
Yatrik Buch
Greenhorn

Joined: Dec 18, 2007
Posts: 5
Hi,

my server.xml entry -



The Log -


Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10202
    
166

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?
 
 
subject: SSL implementation giving blank page