How to activate SSL(HTTPS) in Glassfish 3.0 embedded API?

Posted by Crazy Doc on Stack Overflow See other posts from Stack Overflow or by Crazy Doc
Published on 2010-03-08T12:47:48Z Indexed on 2010/03/08 12:51 UTC
Read the original article Hit count: 679

Filed under:
|
|

We are implementing an application with a webservice as component and decided to use the Glassfish 3.0 embedded distri to provide the webservice. And it works.

We need a SSL(HTTPS) connection to the webservice, but we didn't find any documentation or hint how to activate it programmatically via the embedded API.

Thus we tried to configure the embedded Glassfish via domain.xml, what has a listener configured with SSL. And the port is reachable but only without SSL. The embedded Glassfish seem to ignore the configuration to activate SSL for the port.

Has anyone experience in configuring embedded Glassfish with SSL?

© Stack Overflow or respective owner

Related posts about glassfish

Related posts about embedded