SSLContextFactory settings change 30/89130/1
authorTomek Kaminski <tomasz.kaminski@nokia.com>
Mon, 3 Jun 2019 10:53:55 +0000 (12:53 +0200)
committerTomek Kaminski <tomasz.kaminski@nokia.com>
Mon, 3 Jun 2019 11:04:58 +0000 (13:04 +0200)
Update ssl context to ask for client certificate

Issue-ID: DMAAP-1213
Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com>
Change-Id: If2393d4e48a4e5849538d2641bcc1003bcf07eec

src/main/config/ajsc-jetty.xml

index be3fff4..b351309 100644 (file)
        <!-- SSL Keystore configuration -->
        
         <New id="sslContextFactory" class="org.eclipse.jetty.util.ssl.SslContextFactory">
-             <Set name="KeyStorePath"><SystemProperty name="AJSC_HOME" />/bundleconfig/etc/org.onap.dmaap.mr.jks</Set>
-                  <Set name="KeyStorePassword">jkspassword</Set>
-                       <Set name="KeyManagerPassword">jkspassword</Set>
-         </New>
+                                       <Set name="KeyStorePath"><SystemProperty name="AJSC_HOME" />/bundleconfig/etc/org.onap.dmaap.mr.jks</Set>
+                                       <Set name="KeyStorePassword">jkspassword</Set>
+                                       <Set name="KeyManagerPassword">jkspassword</Set>
+                                       <Set name="WantClientAuth">true</Set>
+        </New>
          <Call id="sslConnector" name="addConnector">
                  <Arg>
                      <New class="org.eclipse.jetty.server.ServerConnector">