2011-12-24 17:09:01 +00:00
|
|
|
<?xml version="1.0"?>
|
2012-11-22 21:42:15 +00:00
|
|
|
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
|
2011-12-24 17:09:01 +00:00
|
|
|
|
|
|
|
<!-- =============================================================== -->
|
|
|
|
<!-- Configure SSL for the Jetty Server -->
|
|
|
|
<!-- this configuration file should be used in combination with -->
|
|
|
|
<!-- other configuration files. e.g. -->
|
2012-11-22 21:42:15 +00:00
|
|
|
<!-- java -jar start.jar etc/jetty-ssl.xml -->
|
|
|
|
<!-- -->
|
|
|
|
<!-- alternately, add to the start.ini for easier usage -->
|
2011-12-24 17:09:01 +00:00
|
|
|
<!-- =============================================================== -->
|
2012-11-22 21:42:15 +00:00
|
|
|
<Configure id="Server" class="org.eclipse.jetty.server.Server">
|
2011-12-24 17:09:01 +00:00
|
|
|
|
2012-11-22 21:42:15 +00:00
|
|
|
<!-- if NIO is not available, use org.eclipse.jetty.server.ssl.SslSocketConnector -->
|
|
|
|
|
|
|
|
<New id="sslContextFactory" class="org.eclipse.jetty.http.ssl.SslContextFactory">
|
|
|
|
<Set name="KeyStore">./eepsite/etc/keystore</Set>
|
|
|
|
<Set name="KeyStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
|
|
|
|
<Set name="KeyManagerPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
|
|
|
|
<Set name="TrustStore">./eepsite/etc/keystore</Set>
|
|
|
|
<Set name="TrustStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
|
|
|
|
</New>
|
2011-12-24 17:09:01 +00:00
|
|
|
|
|
|
|
<Call name="addConnector">
|
|
|
|
<Arg>
|
2012-11-22 21:42:15 +00:00
|
|
|
<New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
|
|
|
|
<Arg><Ref id="sslContextFactory" /></Arg>
|
2011-12-24 17:09:01 +00:00
|
|
|
<Set name="Port">8443</Set>
|
2013-09-04 00:46:43 +00:00
|
|
|
<Set name="maxIdleTime">600000</Set>
|
2012-08-12 11:11:45 +00:00
|
|
|
<Set name="useDirectBuffers">false</Set>
|
2012-11-22 21:42:15 +00:00
|
|
|
<Set name="Acceptors">2</Set>
|
|
|
|
<Set name="AcceptQueueSize">100</Set>
|
2011-12-24 17:09:01 +00:00
|
|
|
</New>
|
|
|
|
</Arg>
|
|
|
|
</Call>
|
|
|
|
</Configure>
|