aboutsummaryrefslogtreecommitdiffstats
path: root/utils/webseal-simulator/sdc-simulator/startup.sh
diff options
context:
space:
mode:
authork.kedron <k.kedron@partner.samsung.com>2019-08-21 13:31:02 +0200
committerPiotr Darosz <piotr.darosz@nokia.com>2019-08-23 10:25:22 +0000
commit7890e823b1ffc4e494fb581610aad9a82bac6b66 (patch)
tree7fde78caaa4b0f61476603de28875b59116eee59 /utils/webseal-simulator/sdc-simulator/startup.sh
parent8bcc864f7e79541faad5acc04d966e10fc10c398 (diff)
Fully HTTPS support in the webseal-simulator
Updated the HTTPS configuration: -Added truststore certificate. -Updated configuration to use JETTY_BASE env value instead hardcoded variable -Updated jvm configuration to support call to the SDC components using HTTPS. -Added support for the disableHttp flag. Issue-ID: SDC-2517 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: Ib7f4c7a6762c56c8031ba6734f02d388aaefd722
Diffstat (limited to 'utils/webseal-simulator/sdc-simulator/startup.sh')
-rw-r--r--utils/webseal-simulator/sdc-simulator/startup.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/webseal-simulator/sdc-simulator/startup.sh b/utils/webseal-simulator/sdc-simulator/startup.sh
index 075c2cefab..cc7d9f9e09 100644
--- a/utils/webseal-simulator/sdc-simulator/startup.sh
+++ b/utils/webseal-simulator/sdc-simulator/startup.sh
@@ -15,6 +15,8 @@ JAVA_OPTIONS=" ${JAVA_OPTIONS} \
-Dconfig.home=${JETTY_BASE}/config/sdc-simulator \
-Dlog.home=${JETTY_BASE}/logs \
-Dlogback.configurationFile=${JETTY_BASE}/config/sdc-simulator/logback.xml \
+ -Djavax.net.ssl.trustStore=${JETTY_BASE}/etc/org.onap.sdc.trust.jks \
+ -Djavax.net.ssl.trustStorePassword=Y,f975ZNJfVZhV*{+Y[}pA?0 \
-Djetty.console-capture.dir=${JETTY_BASE}/logs"