Commit 2887868c authored by Janis Streib's avatar Janis Streib 🦉
Browse files

ADD: support for verify ca

parent 3fecb0cb
Pipeline #157730 passed with stages
in 11 minutes and 31 seconds
......@@ -24,7 +24,7 @@ class MacFinderJob(DBObject):
if self.finished:
return self.status
self.status = session.get(app.config.get('MACFINDER_SERVER_URL') + '/status/{}'.format(self.job_id),
cert=(app.config.get('MACFINDER_CERT'), app.config.get('MACFINDER_KEY'))).json()
cert=(app.config.get('MACFINDER_CERT'), app.config.get('MACFINDER_KEY')), verify=app.config.get('MACFINDER_CA')).json()
self.finished = self.status['status'] == 'finished'
self.failed = self.status['status'] == 'failed'
if self.finished:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment