[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 808
  • Last Modified:

Multiple certificates in one JBOSS instance?

We have one JBOSS instance running several applications (call them tls-lls and tls-diageo).  We have a load balancer that maps an external URL e.g. dgb.pos.address.com to the JBOSS server as <ip>/tls-diageo.  

We're running into a problem with SSL and certificates in that we can apparently only have one certificate for the JBOSS instance, because a certificate can only be related to one ip address.  If we only have one certificate then we can only have one domain name in the certificate and so when the user navigates to the other application for the first time, the browser will show a warning because the domain name doesn't match what is in the certificate.

Is there a way to have more than one certificate in a single JBOSS instance?

Thanks,

Ed.
0
acebass
Asked:
acebass
  • 2
1 Solution
 
CLozCommented:
You will need to use IP base virtual servers on the JBOSS server.  You will assign an IP address to each service you are hosting on the JBOSS server.
0
 
acebassAuthor Commented:
OK, what is "IP base virtual servers" and how do I assign an IP address to each service?

Thanks,
0
 
CLozCommented:
You'll will need to but Apache in front of the JBOSS service.  Apache will handle the client request then forward them to JBOSS.   In Apache you can then create IP-based virtual host, basically your web services will each have their own IP address assigned to them.

Here's a link on how to configure Apache in front of JBOSS:
http://www.skillipedia.com/res/index.hm?cmd=linked&rid=125

Apache IP-based Virtual Host:
http://www.ubuntugeek.com/howto-create-name-based-and-ip-based-virtual-hosts-in-apache.html
0

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now