Home | History | Annotate | Download | only in etc
      1 <?xml version="1.0"?>
      2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd">
      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.                                -->
      8 <!--    java -jar start.jar etc/jetty-ssl.xml                        -->
      9 <!--                                                                 -->
     10 <!--  alternately, add to the start.ini for easier usage             -->
     11 <!-- =============================================================== -->
     12 <Configure id="Server" class="org.eclipse.jetty.server.Server">
     13 
     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"><Property name="jetty.home" default="." />/etc/keystore</Set>
     18     <Set name="KeyStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
     19     <Set name="KeyManagerPassword">OBF:1u2u1wml1z7s1z7a1wnl1u2g</Set>
     20     <Set name="TrustStore"><Property name="jetty.home" default="." />/etc/keystore</Set>
     21     <Set name="TrustStorePassword">OBF:1vny1zlo1x8e1vnw1vn61x8g1zlu1vn4</Set>
     22   </New>
     23 
     24   <Call name="addConnector">
     25     <Arg>
     26       <New class="org.eclipse.jetty.server.ssl.SslSelectChannelConnector">
     27         <Arg><Ref id="sslContextFactory" /></Arg>
     28         <Set name="Port">8443</Set>
     29         <Set name="maxIdleTime">30000</Set>
     30         <Set name="Acceptors">2</Set>
     31         <Set name="AcceptQueueSize">100</Set>
     32       </New>
     33     </Arg>
     34   </Call>
     35 </Configure>
     36