Browse Source

Ignore certificate errors when fetching params. We already have sha256 integrity, no need for confidentiality/DNS authentication.

pull/145/head
Nathan Wilcox 9 years ago
parent
commit
6d9975e19b
  1. 9
      zcutil/fetch-params.sh

9
zcutil/fetch-params.sh

@ -21,7 +21,14 @@ function fetch_params {
if ! [ -f "$filename" ]
then
echo "Retrieving: $url"
wget --progress=dot:giga "$url"
# Note: --no-check-certificate should be ok, since we rely on
# sha256 for integrity, and there's no confidentiality requirement.
# Our website uses letsencrypt certificates which are not supported
# by some wget installations, so we expect some cert failures.
wget \
--progress=dot:giga \
--no-check-certificate \
"$url"
fi
}

Loading…
Cancel
Save