summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomek Kaminski <tomasz.kaminski@nokia.com>2019-06-03 12:53:55 +0200
committerTomek Kaminski <tomasz.kaminski@nokia.com>2019-06-03 13:04:58 +0200
commitb0e13309f31b4928fe993ef046b5d1e14c1f0873 (patch)
tree1fb7cfb9ec74b7c810a4a5ee8dd2b8829db78ddb
parent32a312c7094841489ee5611d8c9fca55382954bd (diff)
SSLContextFactory settings change
Update ssl context to ask for client certificate Issue-ID: DMAAP-1213 Signed-off-by: Tomek Kaminski <tomasz.kaminski@nokia.com> Change-Id: If2393d4e48a4e5849538d2641bcc1003bcf07eec
-rw-r--r--src/main/config/ajsc-jetty.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main/config/ajsc-jetty.xml b/src/main/config/ajsc-jetty.xml
index be3fff4..b351309 100644
--- a/src/main/config/ajsc-jetty.xml
+++ b/src/main/config/ajsc-jetty.xml
@@ -86,10 +86,11 @@
<!-- 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">