summaryrefslogtreecommitdiffstats
path: root/datarouter-node
diff options
context:
space:
mode:
authorefiacor <fiachra.corcoran@est.tech>2021-08-17 10:52:23 +0100
committerefiacor <fiachra.corcoran@est.tech>2021-08-17 10:52:27 +0100
commitcb2d2a283852fe8e47d9f21d93c191230bf42f5a (patch)
tree9f05a1772eb5623b653f9ba538f84f690f5f442a /datarouter-node
parenta2fa78a7e5e9aa69454f3280f46081ac6965129c (diff)
[DMAAP-DR] Package upgrades for I release
Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I2612c1e69d04c609db7b9474e2036e46fe841618 Issue-ID: DMAAP-1608
Diffstat (limited to 'datarouter-node')
-rw-r--r--datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServer.java b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServer.java
index 58fe72b4..e15d211c 100644
--- a/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServer.java
+++ b/datarouter-node/src/main/java/org/onap/dmaap/datarouter/node/NodeServer.java
@@ -121,7 +121,7 @@ public class NodeServer {
@NotNull
private static SslContextFactory getSslContextFactory(NodeConfigManager nodeConfigManager) {
- SslContextFactory sslContextFactory = new SslContextFactory();
+ SslContextFactory sslContextFactory = new SslContextFactory.Server();
sslContextFactory.setKeyStoreType(nodeConfigManager.getKSType());
sslContextFactory.setKeyStorePath(nodeConfigManager.getKSFile());
sslContextFactory.setKeyStorePassword(nodeConfigManager.getKSPass());