Question

I'd like to provide webhosting service on my VPS with running Glassfish v4. It means many domains with one shared IP address of the VPS. I know there are problems with SSL certificates of many domains for one IP and that SNI extension may solve this problem (right?). So my question is, whether Glassfish supports this.

Thanks

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top