scrutinise: check for https certs
This commit is contained in:
parent
08ffcf0e12
commit
7ecdaceeed
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue