Debian Codegraph @

jetty-ee9/jetty-ee9-tests/jetty-ee9-test-integration/src/test/resources/ssl.xml

raw
1 <?xml version="1.0"?>
2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "https://www.eclipse.org/jetty/configure_10_0.dtd">
3 <Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server">
4
5 <Set name="KeyStorePath"><Property name="jetty.sslContext.keyStorePath"/></Set>
6 <Set name="KeyStorePassword"><Property name="jetty.sslContext.keyStorePassword"/></Set>
7
8 <!-- =========================================================== -->
9 <!-- Create a TLS specific HttpConfiguration based on the -->
10 <!-- common HttpConfiguration defined in jetty.xml -->
11 <!-- Add a SecureRequestCustomizer to extract certificate and -->
12 <!-- session information -->
13 <!-- =========================================================== -->
14 <New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
15 <Arg><Ref refid="httpConfig"/></Arg>
16 <Call name="addCustomizer">
17 <Arg>
18 <New class="org.eclipse.jetty.server.SecureRequestCustomizer">
19 <Set name="sniRequired">false</Set>
20 <Set name="SniHostCheck">false</Set>
21 </New>
22 </Arg>
23 </Call>
24 </New>
25
26 </Configure>