scrutinise: check for https certs

This commit is contained in:
Frédéric Péters 2016-11-23 14:28:53 +01:00
parent 08ffcf0e12
commit 7ecdaceeed
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ class Command(BaseCommand):
print('Checking %s' % service.url)
try:
response = requests.get('%s__version__' % service.url,
timeout=5, verify=False)
timeout=5, verify=True)
response.raise_for_status()
except requests.RequestException as e:
print('Error with %s (%r)' % (service.url, e))