users@glassfish.java.net

Re: How to create and virtual server in GlassFish

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Fri, 09 Jan 2009 17:21:04 -0800

Hi Jeff,

On 12/28/08 18:05, glassfish_at_javadesktop.org wrote:
> Hi all,
>
> I deployed a Java application in GlassFish, this is a Bank balance inquiry and more.
> the Bank people purchased a digital certificate with Very Sign, company.
> The issue is that the certificate is issue to : www.bancon.hn but the server name where the glassfish application is installed, is name is = hbkng.continental.hn.
> and I got an certificate error message;
>
> my question is; How can I relate the and create a virtual server in GlassFish, to use the application?
> Thank you in advance.
>

A virtual server may be configured with any number of alias names, which
may be
specified as a comma-separated list in the virtual server's "hosts"
attribute.

Try specifying "www.bancon.hn" as an alias name of "hbkng.continental.hn".


Jan