aspose file tools*
The moose likes JBoss/WildFly and the fly likes SSL configuration problem in Jboss 5.1.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "SSL configuration problem in Jboss 5.1.0" Watch "SSL configuration problem in Jboss 5.1.0" New topic
Author

SSL configuration problem in Jboss 5.1.0

Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18

I configured SSL in Jboss 5.1.0. It was possible for me to access my application available inside war file through http as well https.

Currently i have my applications in two war files A and B deployed under default/deploy directory. Is it possible to access applications in B.war using only https and A.war using only http.

Please suggest

Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
Please let me know any suggestions
Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
any help
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Doesn't http://localhost:8080/app1 and https://localhost:8443/app2 work? Or are you saying that you want to prevent access to app1 through https?


[My Blog] [JavaRanch Journal]
Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
Thanks Jai for replying.

Yes you are right, my app1 is website and app2 is my shopping cart application.

So i have a requirement to run SSL only for app2 and not for app1 (website pages)

Since SSL is configured at server level, https is getting activated to app1 also.

Can you please help me on this.
Prakash Kumar M
Greenhorn

Joined: Jun 29, 2009
Posts: 18
Please help
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 10102
    
165

Hi Prakash,

Your reply already contains the answer:

Prakash Kumar M wrote:
Since SSL is configured at server level, https is getting activated to app1 also.



It's a server level setting and i don't know of any way to have app1 (on the same server instance) not available on https.
Rene Larsen
Ranch Hand

Joined: Oct 12, 2001
Posts: 1179

The only solution I can see is to start two nodes of your JBoss server, which are configured with and without SSL - or have two JBoss instances running.


Regards, Rene Larsen
Dropbox Invite
 
Consider Paul's rocket mass heater.
 
subject: SSL configuration problem in Jboss 5.1.0