Commit 8eeec204 authored by Alejandro Alvarez Ayllon's avatar Alejandro Alvarez Ayllon
Browse files

Fixes FTS-1135: Set SSL_VERIFYHOST

parent 4ba15ce3
Pipeline #286568 failed with stage
in 1 minute and 52 seconds
......@@ -35,6 +35,7 @@ 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)
if self.ucert:
......
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