Merge pull request #642 from nathan-at-least/t641.fetch-params-ignore-cert-errors

Ignore certificate errors when fetching params.
This commit is contained in:
ebfull 2016-01-21 02:31:17 -07:00
commit 7f689b0a42
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
}