Pergunta

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

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top