summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorr.bogacki <r.bogacki@samsung.com>2019-07-26 10:38:18 +0200
committerOfir Sonsino <ofir.sonsino@intl.att.com>2019-08-06 08:47:13 +0000
commite90694f0893731f6b2b949c8f0b0d190f1de2c2f (patch)
treead6db9fc9b5ab716e788584d27f35255f82f8875
parent351a974ebd488021b14e95135883b8d6dbc6c442 (diff)
HTTPS calls into dcaedt_be
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
-rw-r--r--dcaedt_be/src/main/resources/org.onap.sdc.p12bin0 -> 4051 bytes
-rw-r--r--dcaedt_be/src/main/resources/org.onap.sdc.trust.jksbin0 -> 1413 bytes
-rw-r--r--dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties6
3 files changed, 6 insertions, 0 deletions
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
index 0000000..ee000dc
--- /dev/null
+++ b/dcaedt_be/src/main/resources/org.onap.sdc.p12
Binary files 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
index 0000000..342c4f2
--- /dev/null
+++ b/dcaedt_be/src/main/resources/org.onap.sdc.trust.jks
Binary files differ
diff --git a/dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties b/dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties
index 2bb725d..f299fbb 100644
--- a/dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties
+++ b/dcaedt_be/src/main/webapp/WEB-INF/config/dcae-be/application.properties
@@ -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