diff --git a/get-certs.sh b/get-certs.sh index 49740e6..80dd8f8 100755 --- a/get-certs.sh +++ b/get-certs.sh @@ -81,7 +81,7 @@ while read -r host; do fi # Get cert. - cert=$(fetch_cert "$host_and_port" 'timeout 5') + cert=$(fetch_cert "$host_and_port" 'timeout 10') if [ -z "$cert" ]; then >&2 echo "$host_and_port - connection failed" @@ -97,7 +97,7 @@ while read -r host; do exit 1 fi - cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 15' 'torsocks') + cert_via_tor=$(fetch_cert "$host_and_port" 'timeout 25' 'torsocks') if [ -z "$cert_via_tor" ]; then >&2 echo "$host_and_port - Tor connection failed"