Skip to content

Commit

Permalink
SCANCLI-140 Change cacerts location to be compatible with alpine 3.19
Browse files Browse the repository at this point in the history
  • Loading branch information
csaba-feher-sonarsource authored and pierre-guillot-gh committed Apr 15, 2024
1 parent 11e6606 commit a9832ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 5/bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [[ -d /tmp/cacerts ]]; then
if [[ -n "$(ls -A /tmp/cacerts 2>/dev/null)" ]]; then
for f in /tmp/cacerts/*
do
keytool -importcert -file "${f}" -alias "$(basename "${f}")" -keystore /opt/java/openjdk/lib/security/cacerts -storepass changeit -trustcacerts -noprompt
keytool -importcert -file "${f}" -alias "$(basename "${f}")" -keystore /usr/lib/jvm/default-jvm/jre/lib/security/cacerts -storepass changeit -trustcacerts -noprompt
done
fi
fi
Expand Down

0 comments on commit a9832ec

Please sign in to comment.