diff options
author | liboNet <libo.zhu@intel.com> | 2018-12-18 09:22:00 +0800 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2019-01-07 17:22:54 +0000 |
commit | 2511b36968b84151c67d7227c043bf90855ce161 (patch) | |
tree | a9bfb7c06d4b6a9a1583f487dd179b85cc3886f9 /packages/policy-distribution-tarball | |
parent | 964ac3e2a2e6919a8a20895c286312cd0c8f200f (diff) |
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 <libo.zhu@intel.com>
(cherry picked from commit fc32c230809a051bc1c17e8a2a447210822eebe7)
Diffstat (limited to 'packages/policy-distribution-tarball')
-rw-r--r-- | packages/policy-distribution-tarball/src/main/resources/etc/defaultConfig.json | 3 | ||||
-rw-r--r-- | packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore | bin | 0 -> 4311 bytes | |||
-rw-r--r-- | packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore | bin | 0 -> 124180 bytes |
3 files changed, 2 insertions, 1 deletions
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 Binary files differnew file mode 100644 index 00000000..7d2b1ecc --- /dev/null +++ b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-keystore 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 Binary files differnew file mode 100644 index 00000000..8834ac25 --- /dev/null +++ b/packages/policy-distribution-tarball/src/main/resources/etc/ssl/policy-truststore |