https://bugzilla.wikimedia.org/show_bug.cgi?id=72236
Bug ID: 72236
Summary: Family.ignore_certificate_error does not work in py3
Product: Pywikibot
Version: core (2.0)
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: Unprioritized
Component: network
Assignee: Pywikipedia-bugs(a)lists.wikimedia.org
Reporter: jayvdb(a)gmail.com
Web browser: ---
Mobile Platform: ---
py3 httplib2 (
https://github.com/jcgregorio/httplib2/issues/173) has problems
ignoring errors/not validating SSL certificates.
As a result, Family.ignore_certificate_error does not work in py3
File "/usr/lib/python3.3/site-packages/httplib2/__init__.py", line 1156, in
request
self.disable_ssl_certificate_validation)
File "/usr/lib/python3.3/site-packages/httplib2/__init__.py", line 830, in
__init__
check_hostname=True)
File "/usr/lib64/python3.3/http/client.py", line 1183, in __init__
raise ValueError("check_hostname needs a SSL context with "
ValueError: check_hostname needs a SSL context with either CERT_OPTIONAL or
CERT_REQUIRED
--
You are receiving this mail because:
You are the assignee for the bug.