"Fossies" - the Fresh Open Source Software Archive

Member "solr-8.4.1/solr/server/etc/jetty-ssl.xml" (10 Jan 2020, 2242 Bytes) of package /linux/www/solr-8.4.1-src.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "jetty-ssl.xml": 8.4.0_vs_8.4.1.

    1 <?xml version="1.0"?>
    2 <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
    3 
    4 <!-- ============================================================= -->
    5 <!-- Configure a TLS (SSL) Context Factory                         -->
    6 <!-- This configuration must be used in conjunction with jetty.xml -->
    7 <!-- and either jetty-https.xml or jetty-spdy.xml (but not both)   -->
    8 <!-- ============================================================= -->
    9 <Configure id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory$Server">
   10   <Call class="org.apache.solr.util.configuration.SSLConfigurationsFactory" name="current">
   11     <Get name="keyStorePassword" id="keyStorePassword"/>
   12     <Get name="trustStorePassword" id="trustStorePassword"/>
   13   </Call>
   14   <Set name="KeyStorePath"><Property name="solr.jetty.keystore" default="./etc/solr-ssl.keystore.jks"/></Set>
   15   <Set name="KeyStorePassword"><Ref refid="keyStorePassword"/></Set>
   16   <Set name="TrustStorePath"><Property name="solr.jetty.truststore" default="./etc/solr-ssl.keystore.jks"/></Set>
   17   <Set name="TrustStorePassword"><Ref refid="trustStorePassword"/></Set>
   18   <Set name="NeedClientAuth"><Property name="solr.jetty.ssl.needClientAuth" default="false"/></Set>
   19   <Set name="WantClientAuth"><Property name="solr.jetty.ssl.wantClientAuth" default="false"/></Set>
   20   <Set name="KeyStoreType"><Property name="solr.jetty.keystore.type" default="JKS"/></Set>
   21   <Set name="TrustStoreType"><Property name="solr.jetty.truststore.type" default="JKS"/></Set>
   22 
   23   <!-- =========================================================== -->
   24   <!-- Create a TLS specific HttpConfiguration based on the        -->
   25   <!-- common HttpConfiguration defined in jetty.xml               -->
   26   <!-- Add a SecureRequestCustomizer to extract certificate and    -->
   27   <!-- session information                                         -->
   28   <!-- =========================================================== -->
   29   <New id="sslHttpConfig" class="org.eclipse.jetty.server.HttpConfiguration">
   30     <Arg><Ref refid="httpConfig"/></Arg>
   31     <Call name="addCustomizer">
   32       <Arg><New class="org.eclipse.jetty.server.SecureRequestCustomizer"/></Arg>
   33     </Call>
   34   </New>
   35 
   36 </Configure>