diff options
author | liboNet <libo.zhu@intel.com> | 2018-12-18 09:22:00 +0800 |
---|---|---|
committer | liboNet <libo.zhu@intel.com> | 2018-12-19 12:29:10 +0800 |
commit | fc32c230809a051bc1c17e8a2a447210822eebe7 (patch) | |
tree | 17bbbd6f9b235bfadca792f3750baecde51f78d0 /packages/policy-distribution-tarball/src/main/resources | |
parent | 987cb61f269572fec7c0b0fe500f081ca36c2dd9 (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>
Diffstat (limited to 'packages/policy-distribution-tarball/src/main/resources')
-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 |