Commit 27436eea authored by Alejandro Alvarez Ayllon's avatar Alejandro Alvarez Ayllon
Browse files

FTS-1135 VERIFYHOST can only be 0 or 2 in CC7 curl

parent 8eeec204
Pipeline #286760 failed with stage
in 43 seconds
......@@ -35,9 +35,10 @@ class PycurlRequest(object):
def _set_ssl(self):
self.curl_handle.setopt(pycurl.SSL_VERIFYPEER, self.verify)
self.curl_handle.setopt(pycurl.SSL_VERIFYHOST, self.verify)
if self.verify:
self.curl_handle.setopt(pycurl.SSL_VERIFYHOST, 2)
self.curl_handle.setopt(pycurl.SSL_VERIFYHOST, 0)
if self.ucert:
self.curl_handle.setopt(pycurl.SSLCERT, self.ucert)
if self.ukey:
Supports Markdown
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