diff --git a/bootstrap.sh b/bootstrap.sh index be180b5..bb027e7 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -29,7 +29,8 @@ function validate_host echo "$1" | grep -P '^(http|https):\/\/(([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])\.)*([a-z0-9]|[a-z0-9][a-z0-9\-]*[a-z0-9])(:[0-9]+)?$' > /dev/null 2>&1 if [ $? -eq 0 ]; then debug "Checking host is resolvable: $1" - curl $1 > /dev/null 2>&1 + # The remote servers may sometimes have self-signed certs + curl --insecure $1 > /dev/null 2>&1 fi return $? }