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>
diff --git a/packages/policy-clamp-docker/src/main/docker/http-participant.sh b/packages/policy-clamp-docker/src/main/docker/http-participant.sh
index d74b903..17daa18 100644
--- a/packages/policy-clamp-docker/src/main/docker/http-participant.sh
+++ b/packages/policy-clamp-docker/src/main/docker/http-participant.sh
@@ -55,9 +55,10 @@
mkdir -p "${POLICY_HOME}"/config/
cp -f "${CONFIG_FILE}" "${POLICY_HOME}"/config/HttpParticipantParameters.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/HttpParticipantParameters.yaml"