source: installer/resources/eepsite/jetty-ssl.xml @ 0859dbe

Last change on this file since 0859dbe was 0859dbe, checked in by zzz <zzz@…>, 8 years ago
  • i2ptunnel: Reduce buffer size and use cache in HTTPServer
  • Jetty: Increase maxIdleTime
  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[ec7ec56]1<?xml version="1.0"?>
[9fc7258]2<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
[ec7ec56]3
4<!-- =============================================================== -->
5<!-- Configure SSL for the Jetty Server                              -->
6<!-- this configuration file should be used in combination with      -->
7<!-- other configuration files.  e.g.                                -->
[9fc7258]8<!--    java -jar start.jar etc/jetty-ssl.xml                        -->
9<!--                                                                 -->
10<!--  alternately, add to the start.ini for easier usage             -->
[ec7ec56]11<!-- =============================================================== -->
[9fc7258]12<Configure id="Server" class="org.eclipse.jetty.server.Server">
[ec7ec56]13
[9fc7258]14  <!-- if NIO is not available, use org.eclipse.jetty.server.ssl.SslSocketConnector -->
15 
16  <New id="sslContextFactory" class="org.eclipse.jetty.http.ssl.SslContextFactory">
17    <Set name="KeyStore">./eepsite/etc/keystore</Set>
18    <Set name="KeyStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
19    <Set name="KeyManagerPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
20    <Set name="TrustStore">./eepsite/etc/keystore</Set>
21    <Set name="TrustStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
22  </New>
[ec7ec56]23
24  <Call name="addConnector">
25    <Arg>
[9fc7258]26      <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
27        <Arg><Ref id="sslContextFactory" /></Arg>
[ec7ec56]28        <Set name="Port">8443</Set>
[0859dbe]29        <Set name="maxIdleTime">600000</Set>
[269a36c]30        <Set name="useDirectBuffers">false</Set>
[9fc7258]31        <Set name="Acceptors">2</Set>
32        <Set name="AcceptQueueSize">100</Set>
[ec7ec56]33      </New>
34    </Arg>
35  </Call>
36</Configure>
Note: See TracBrowser for help on using the repository browser.