Skip to content

Commit

Permalink
Ignore certificate errors when fetching params. We already have sha25…
Browse files Browse the repository at this point in the history
…6 integrity, no need for confidentiality/DNS authentication.
  • Loading branch information
nejucomo committed Jan 20, 2016
1 parent fc0ae34 commit 6d9975e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion zcutil/fetch-params.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6d9975e

Please sign in to comment.