Skip to content

Commit a728024

Browse files
authored
Merge pull request #73 from JakubVanek/bugfix/ssl-certs-from-mozilla
[scripts] feat: use CA certificates from Mozilla
2 parents 75bafad + 3e7f301 commit a728024

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)