diff options
author | FrancescoFioraEst <francesco.fiora@est.tech> | 2021-09-17 15:02:03 +0100 |
---|---|---|
committer | Francesco Fiora <francesco.fiora@est.tech> | 2021-09-17 14:16:51 +0000 |
commit | 7b7fbdf6af90cf695709c734d9d22a5b0c918462 (patch) | |
tree | dd24a84d50702e6a7e13ba9edbdfde8f4100423b /packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh | |
parent | d9131ec55fd588ba6863de90756a8006adcc28b4 (diff) |
Enable SSL connection
Enable SSL connection in Rest Api
and SSL connection to DMaap.
Issue-ID: POLICY-3649
Change-Id: I48db31d3f30d580cea0cfdc385d2c763c212e330
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
Diffstat (limited to 'packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh')
-rw-r--r-- | packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh b/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh index cb5ae9251..3c5fe5c63 100644 --- a/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh +++ b/packages/policy-clamp-docker/src/main/docker/kubernetes-participant.sh @@ -55,9 +55,10 @@ fi mkdir -p "${POLICY_HOME}"/config/ cp -f "${CONFIG_FILE}" "${POLICY_HOME}"/config/KubernetesParticipantParameters.yaml -$JAVA_HOME/bin/java -Dserver.ssl.keyStore="${KEYSTORE}" \ +$JAVA_HOME/bin/java -Dserver.ssl.enabled="true" \ + -Dserver.ssl.keyStore="${KEYSTORE}" \ -Dserver.ssl.keyStorePassword="${KEYSTORE_PASSWD}" \ - -Dserver.ssl.trustStore="${TRUSTSTORE}" \ - -Dserver.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \ + -Djavax.net.ssl.trustStore="${TRUSTSTORE}" \ + -Djavax.net.ssl.trustStorePassword="${TRUSTSTORE_PASSWD}" \ -jar /app/app.jar \ --spring.config.location="${POLICY_HOME}/config/KubernetesParticipantParameters.yaml" |