Retry download LE certificates before failing
This commit is contained in:
parent
ce5192d1d9
commit
a7a820ac6f
|
@ -19,7 +19,7 @@ cd "$DESTDIR"
|
||||||
for cert in $CERTS; do
|
for cert in $CERTS; do
|
||||||
echo "Downloading '$cert'..."
|
echo "Downloading '$cert'..."
|
||||||
filename=$(basename "$cert")
|
filename=$(basename "$cert")
|
||||||
wget -O "$filename" "$cert"
|
wget --tries=5 -O "$filename" "$cert"
|
||||||
openssl x509 -in "$filename" -inform PEM -out "$filename.crt"
|
openssl x509 -in "$filename" -inform PEM -out "$filename.crt"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue