By default, there is no HTTPS port configured, but if you would like to enable SSL,
a new connector must be added and configured in the etc/jetty-ssl.xml
file as follows:
<Call name="addConnector">
<Arg>
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
<Arg>
<New class="org.eclipse.jetty.http.ssl.SslContextFactory">
<Set name="port">8443</Set>
<Set name="keyStore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
<Set name="keyStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
<Set name="keyManagerPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
<Set name="trustStore"><SystemProperty name="jetty.home" default="." />/etc/keystore</Set>
<Set name="trustStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
</New>
</Arg
<Set name="maxIdleTime">30000</Set>
</New>
</Arg>
</Call>
Please refer to the Jetty SSL configuration documentation for more information: http://wiki.eclipse.org/Jetty/Howto/Configure_SSL
Contents
Search
