HTTPS calls into dcaedt_be 84/92084/3
authorr.bogacki <r.bogacki@samsung.com>
Fri, 26 Jul 2019 08:38:18 +0000 (10:38 +0200)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Tue, 6 Aug 2019 08:47:13 +0000 (08:47 +0000)
Implement HTTPS calls into dcaedt_be
-Added p12 certificate.
-Updated application configuration.
-Added trust-store.

Issue-ID: SDC-2477
Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com>
Signed-off-by: Robert Bogacki <r.bogacki@samsung.com>
Change-Id: If236b2412a67f8c706bc87fe1da3a469ac4e725e

dcaedt_be/src/main/resources/org.onap.sdc.p12 [new file with mode: 0644]
dcaedt_be/src/main/resources/org.onap.sdc.trust.jks [new file with mode: 0644]
dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties

diff --git a/dcaedt_be/src/main/resources/org.onap.sdc.p12 b/dcaedt_be/src/main/resources/org.onap.sdc.p12
new file mode 100644 (file)
index 0000000..ee000dc
Binary files /dev/null and b/dcaedt_be/src/main/resources/org.onap.sdc.p12 differ
diff --git a/dcaedt_be/src/main/resources/org.onap.sdc.trust.jks b/dcaedt_be/src/main/resources/org.onap.sdc.trust.jks
new file mode 100644 (file)
index 0000000..342c4f2
Binary files /dev/null and b/dcaedt_be/src/main/resources/org.onap.sdc.trust.jks differ
index 2bb725d..f299fbb 100644 (file)
@@ -1,5 +1,11 @@
 # Configure the server to run with SSL/TLS and using HTTPS
 server.port=8446
+server.ssl.key-store=classpath:org.onap.sdc.p12
+server.ssl.key-store-password=rTIS;B4kM]2GHcNK2c3B4&Ng
+
+http.client.ssl.trust-store=classpath:org.onap.sdc.trust.jks
+http.client.ssl.trust-store-password=Y,f975ZNJfVZhV*{+Y[}pA?0
+
 server.contextPath=/
 ##ScheduleTimer
 scheduled.timer.value=5000