Configure multiple keystores in JBoss depending on requested hostname
Posted
by Mo
on Stack Overflow
See other posts from Stack Overflow
or by Mo
Published on 2008-10-16T11:16:24Z
Indexed on
2010/05/05
20:48 UTC
Read the original article
Hit count: 180
Hello,
I have my J2EE application deployed into a JBossAS. My Application has to respond to two different hostnames (https://foo.com/myApp and https://bar.com/myApp). It is the same instance of the app serving those two hostnames.
But I don't know how to configure the keystores. I need different keystores for each hostname. Is there a way to tie a virtual host in JBoss' server.xml to a specific connector?
Or do I have to use two different IP-addresses and create a connector for each?
A solution that does not require a second IP-address would be greatly appreciated.
© Stack Overflow or respective owner