diff --git a/entrypoint.sh b/entrypoint.sh index c2a406e..71278c4 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,6 +18,9 @@ if [[ -n "${SONAR_ROOT_CERT}" ]]; then rm -f /tmp/tmpcert.pem echo "${SONAR_ROOT_CERT}" > /tmp/tmpcert.pem keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/tmpcert.pem + + echo "${SONAR_ROOT_CERT}" > /tmp/CA_MAIF_ROOTCA.pem + keytool -keystore /etc/ssl/certs/java/cacerts -storepass changeit -noprompt -trustcacerts -importcert -alias sonarqube -file /tmp/CA_MAIF_ROOTCA.pem fi if [[ -f "${INPUT_PROJECTBASEDIR%/}pom.xml" ]]; then