summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d-standalone/src/main/assembly')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh7
-rw-r--r--engine-d-standalone/src/main/assembly/conf/engine-d.yml6
-rw-r--r--engine-d-standalone/src/main/assembly/conf/holmes.keystorebin0 -> 1387 bytes
3 files changed, 12 insertions, 1 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"
diff --git a/engine-d-standalone/src/main/assembly/conf/engine-d.yml b/engine-d-standalone/src/main/assembly/conf/engine-d.yml
index ff3201b..c5a750a 100644
--- a/engine-d-standalone/src/main/assembly/conf/engine-d.yml
+++ b/engine-d-standalone/src/main/assembly/conf/engine-d.yml
@@ -19,8 +19,12 @@ server:
applicationContextPath: /
adminContextPath: /admin
connector:
- type: http
+ type: https
port: 9102
+ keyStorePath: /home/holmes/conf/holmes.keystore
+ keyStorePassword: holmes
+ validateCerts: false
+ validatePeers: false
# Logging settings.
diff --git a/engine-d-standalone/src/main/assembly/conf/holmes.keystore b/engine-d-standalone/src/main/assembly/conf/holmes.keystore
new file mode 100644
index 0000000..a6266bb
--- /dev/null
+++ b/engine-d-standalone/src/main/assembly/conf/holmes.keystore
Binary files differ