I'm implementing a plugin which needs to communicate with https website.
I get the following error:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
Here is my code:
headers = {"Content-type": "application/x-www-form-urlencoded","Accept": "text/plain","Authorization": "Basic %s" % b64Val} conn = httplib.HTTPSConnection("viewthatnow.com", 443) conn.request("POST", "/savezapentry/savezapentry.php", values, headers) response = conn.getresponse()
How could I avoid verifying the SSL certificate using python 2.7.3 (used by OpenPli) ??