From 3288bf4e6cb5b137af413a4ba4aaf20e7f2fa8de Mon Sep 17 00:00:00 2001 From: itay Date: Tue, 23 Apr 2019 11:49:03 +0300 Subject: [PATCH] don't require verify for internet check --- monkey/infection_monkey/network/info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/network/info.py b/monkey/infection_monkey/network/info.py index b40f703c5..952a9282e 100644 --- a/monkey/infection_monkey/network/info.py +++ b/monkey/infection_monkey/network/info.py @@ -138,7 +138,7 @@ def check_internet_access(services): """ for host in services: try: - requests.get("https://%s" % (host,), timeout=TIMEOUT) + requests.get("https://%s" % (host,), timeout=TIMEOUT, verify=False) return True except ConnectionError: # Failed connecting