fixed comms for certificate checking

This commit is contained in:
Adolfo Gómez García 2020-05-11 14:16:11 +02:00
parent 616df1f0f2
commit f1e8011f42

View File

@ -51,8 +51,8 @@ def _requestActor(
r = proxy.doProxyRequest(url=url, data=data, timeout=TIMEOUT) r = proxy.doProxyRequest(url=url, data=data, timeout=TIMEOUT)
else: else:
verify: typing.Union[bool, str] verify: typing.Union[bool, str]
# cert = userService.getProperty('cert') cert = userService.getProperty('cert')
cert = '' # Untils more tests, keep as previous.... TODO: Fix this when fully tested # cert = '' # Untils more tests, keep as previous.... TODO: Fix this when fully tested
if cert: if cert:
# Generate temp file, and delete it after # Generate temp file, and delete it after
verify = tempfile.mktemp('udscrt') verify = tempfile.mktemp('udscrt')