Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

https web pu

How do I configure https/port/keystore/password in a web pu.
I have tried an embedded jetty-web.xml file.

 <Call name="addConnector">
      <New class="org.eclipse.jetty.server.ssl.SslSocketConnector">
        <Set name="Port">8443</Set>
        <Set name="maxIdleTime">30000</Set>
        <Set name="keystore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="password">password</Set>
        <Set name="keyPassword"></Set>
        <Set name="truststore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
        <Set name="trustPassword">password</Set>

causes the deployment of web pu to hang. (using class org.mortbay.jetty.security.SslSocketConnector deploys but class cannot be found).

How does https port work with mulitple instances ? Does it increment automatically .. as with the non-https port.

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2012-12-18 06:07:59 -0500

ianf gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

The solution is to use a custom jetty.pu.xml file in the META-INF/spring/ folder of the war file.
The custom jetty.pu.xml file should contains an SSL connector bean in the list, as described in:

answered 2012-12-19 05:10:08 -0500

ianf gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2012-12-18 06:07:59 -0500

Seen: 133 times

Last updated: Dec 19 '12