Actually go through signer proxy

This commit is contained in:
Evan Cordell 2016-04-26 12:00:14 -05:00 committed by Jimmy Zelinskie
parent 52590687ae
commit e499c4a8ef
2 changed files with 4 additions and 2 deletions

Binary file not shown.

View file

@ -257,5 +257,7 @@ class SecurityScannerAPI(object):
with CloseForLongOperation(self.config):
logger.debug('%sing security URL %s', method.upper(), url)
return client.request(method, url, json=body, params=params, timeout=timeout,
cert=self._keys, verify=self._certificate, headers=headers,
proxies=security_config.get('PROXY'))
cert=self._keys, verify='/conf/mitm.cert', headers=headers,
proxies={
self.config.get('PREFERRED_URL_SCHEME', 'http'): security_config.get('PROXY')
})