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

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top