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">./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> |
---|
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">600000</Set> |
---|
30 | <Set name="useDirectBuffers">false</Set> |
---|
31 | <Set name="Acceptors">2</Set> |
---|
32 | <Set name="AcceptQueueSize">100</Set> |
---|
33 | </New> |
---|
34 | </Arg> |
---|
35 | </Call> |
---|
36 | </Configure> |
---|