According to the Glassfish 4 security guide, https://glassfish.java.net/docs/4.0/security-guide.pdf
, there is NOT support for SNI. However, it's generally bad practice IMO (though still debated by many), to expose Glassfish directly to the internet.
I usually solve this problem by running an Apache server with mod_ajp_proxy
, connected to a jk-listener on Glassfish.