CA_MAIF_ROOTCA

This commit is contained in:
Alexandre GIRARD 2023-05-12 13:58:06 +02:00 committed by GitHub
parent ec8d1a9c90
commit 24fc13b81f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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