From fc32c230809a051bc1c17e8a2a447210822eebe7 Mon Sep 17 00:00:00 2001 From: liboNet Date: Tue, 18 Dec 2018 09:22:00 +0800 Subject: add Https support for distribution endpoints . add the https into the RestServerParameters interface . update CommonTestData to support https interface . add two cases for healthcheck and statistic https validation . update the package script to use JVM properties . add keystore and truststore to resources dir . update the keystore path for consistency Change-Id: I04b2a3e1afef84eafbb6a22e6fe2122a5a181883 Issue-ID: POLICY-1221 Signed-off-by: liboNet --- .../src/main/resources/etc/defaultConfig.json | 3 ++- .../src/main/resources/etc/ssl/policy-keystore | Bin 0 -> 4311 bytes .../src/main/resources/etc/ssl/policy-truststore | Bin 0 -> 124180 bytes 3 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore create mode 100644 packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore (limited to 'packages/policy-distribution-tarball') diff --git a/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json b/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json index 455b77a4..1703512f 100644 --- a/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json +++ b/packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json @@ -4,7 +4,8 @@ "host":"0.0.0.0", "port":6969, "userName":"healthcheck", - "password":"zb!XztG34" + "password":"zb!XztG34", + "https":true }, "receptionHandlerParameters":{ "SDCReceptionHandler":{ diff --git a/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore new file mode 100644 index 00000000..7d2b1ecc Binary files /dev/null and b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore differ diff --git a/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore new file mode 100644 index 00000000..8834ac25 Binary files /dev/null and b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore differ -- cgit 1.2.3-korg