Set timeout to 30s for LE certificates downloading
This commit is contained in:
parent
a7a820ac6f
commit
0dd899a291
|
@ -19,7 +19,7 @@ cd "$DESTDIR"
|
|||
for cert in $CERTS; do
|
||||
echo "Downloading '$cert'..."
|
||||
filename=$(basename "$cert")
|
||||
wget --tries=5 -O "$filename" "$cert"
|
||||
wget --tries=10 --timeout=30 -O "$filename" "$cert"
|
||||
openssl x509 -in "$filename" -inform PEM -out "$filename.crt"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue