From 24fc13b81f0c5c3a9afd90ccc82a3261990aa661 Mon Sep 17 00:00:00 2001 From: Alexandre GIRARD <77633105+alexandre-girard-maif@users.noreply.github.com> Date: Fri, 12 May 2023 13:58:06 +0200 Subject: [PATCH] CA_MAIF_ROOTCA --- entrypoint.sh | 3 +++ 1 file changed, 3 insertions(+) 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