Skip to content

Commit 3e7f301

Browse files
committed
[scripts] feat: use CA certificates from Mozilla
This enables the generation of CAcerts database from Mozilla's list of trustworthy certificates as implemented in AdoptOpenJDK's build repository. Related to ev3dev-lang-java/ev3dev-lang-java#728 (comment) Related to adoptium/temurin-build@9cb3ddc
1 parent 75bafad commit 3e7f301

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

scripts/fetch.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,3 +166,9 @@ fi
166166
# clone the root project
167167
echo "[FETCH] Cloning openjdk-build repo"
168168
git clone --depth 1 "$ABLDREPO" "$ABLDDIR"
169+
170+
if [ ! -f "$CACERTFILE" ]; then
171+
echo "[FETCH] Generating CA certificate database"
172+
cd "$(dirname "$CACERTFILE")"
173+
./mk-cacerts.sh --keytool "$HOSTJDK/bin/keytool"
174+
fi

0 commit comments

Comments
 (0)