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

This commit is contained in:
Nathan Wilcox 2016-01-20 14:45:18 -08:00
parent fc0ae34c58
commit 6d9975e19b
1 changed files with 8 additions and 1 deletions

View File

@ -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
}