forked from shaba/openuds
fixed comms for certificate checking
This commit is contained in:
parent
616df1f0f2
commit
f1e8011f42
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user