Skip to main content

Multiple SSL certificates on 1 listener?

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
No replies
AlexTsang
Offline
Joined: 2012-05-23

Hi. Let say I have 2 domain names (example1.com and example2.com), I have set up virtual servers for each domain name and the virtual servers both uses http-listener-1 and http-listener-2 for HTTP and HTTPS requests respectively.

The problem is that, in http-listener-2, I can only specify 1 certificate nickname, which means I can only specify the SSL certificate for either example1.com or example2.com, but not both.

Could someone tell me how should I configure GlassFish (I'm using GlassFish 3.1.2, open source version) so that it can use multiple SSL certificates on a single port? Is it possible?

Thanks in advance.