summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly/bin/run.sh
diff options
context:
space:
mode:
authorShiwei Tian <tian.shiwei@zte.com.cn>2018-03-06 10:01:38 +0800
committerShiwei Tian <tian.shiwei@zte.com.cn>2018-03-06 10:01:38 +0800
commit5b3f8b279725c337de6988e703cca418b3e53826 (patch)
tree42fe75020eb407a6cc20c7b04447506345687184 /engine-d-standalone/src/main/assembly/bin/run.sh
parent3b822dd0c43d656cf4cb9b3f37633300b963e120 (diff)
Change HTTP Requests into HTTPS Ones
Issue-ID: HOLMES-104 Change-Id: I535050f7dcacc2caa75d9a8941d93000fd91c361 Signed-off-by: Shiwei Tian <tian.shiwei@zte.com.cn>
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin/run.sh')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index dab4cbc..d3d5348 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -70,6 +70,13 @@ fi
#ActiveMQ IP Configurations
sed -i "s|brokerIp:.*|brokerIp: $SERVICE_IP|" "$main_path/conf/engine-d.yml"
+KEY_PATH="$main_path/conf/holmes.keystore"
+KEY_PASSWORD="holmes"
+
+#HTTPS Configurations
+sed -i "s|keyStorePath:.*|keyStorePath: $KEY_PATH|" "$main_path/conf/engine-d.yml"
+sed -i "s|keyStorePassword:.*|keyStorePassword: $KEY_PASSWORD|" "$main_path/conf/engine-d.yml"
+
cat "$main_path/conf/engine-d.yml"