Skip to content

Commit e77b2e5

Browse files
authored
Merge pull request runfalk#123 from samczsun/patch-1
Fix certificate verification issue when building
2 parents 19c086a + 7afd1e1 commit e77b2e5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ if [ ! -d "$build_env" ]; then
8787
# Ensure the installed toolchain has support for CA signed certificates.
8888
# Without this wget on https:// will fail
8989
cp /etc/ssl/certs/ca-certificates.crt "$build_env/etc/ssl/certs/"
90+
91+
# Add patched version of DST Root CA X3 certificate
92+
wget -O DSTRootCAX3_Extended.crt "https://crt.sh/?d=8395"
93+
sed -i "s/xMDkzMDE0MDExNVow/0MDkzMDE4MTQwM1ow/g" DSTRootCAX3_Extended.crt
94+
cat DSTRootCAX3_Extended.crt >> "$build_env/etc/ssl/certs/ca-certificates.crt"
9095
fi
9196

9297
# Patch WireGuard to use its own included memneq implementation if architecture

0 commit comments

Comments
 (0)