Description of problem: After updating python-httplib2, an existing script that uses the Instapaper (http://www.instapaper.com/) API fails because the certificate is considered invalid. Version-Release number of selected component (if applicable): python-httplib2-0.7.4-2.fc16.noarch How reproducible: Every time the script runs Steps to Reproduce: 1. Run script using Instapaper API 2. Get CertificateHostnameMismatch exception Actual results: httplib2.CertificateHostnameMismatch: Server presented certificate that does not match host www.instapaper.com: {'notAfter': 'Apr 13 00:29:37 2017 GMT', 'subjectAltName': (('DNS', 'www.instapaper.com'), ('DNS', 'instapaper.com')), 'subject': ((('serialNumber', u'kFgvILuOXBY2A3gz3DTbhKsV8Tm6x8T7'),), (('countryName', u'US'),), (('organizationName', u'www.instapaper.com'),), (('organizationalUnitName', u'GT72497635'),), (('organizationalUnitName', u'See www.rapidssl.com/resources/cps (c)11'),), (('organizationalUnitName', u'Domain Control Validated - RapidSSL(R)'),), (('commonName', u'www.instapaper.com'),))} Additional info: I've attached a patch to httplib2 issue 208: http://code.google.com/p/httplib2/issues/detail?id=208#c3
Exact same issue hit by one of my applications.
Reproducer: import httplib2 h = httplib2.Http(ca_certs='/etc/pki/tls/certs/ca-bundle.crt') resp,content = h.request("https://en.wikipedia.org")
*** Bug 830190 has been marked as a duplicate of this bug. ***
Last patch works for me also.
python-httplib2-0.7.4-4.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/python-httplib2-0.7.4-4.fc16
python-httplib2-0.7.4-4.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/python-httplib2-0.7.4-4.fc17
python-httplib2-0.7.4-4.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/python-httplib2-0.7.4-4.el6
python-httplib2-0.7.4-4.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/python-httplib2-0.7.4-4.el5
Package python-httplib2-0.7.4-4.el6: * should fix your issue, * was pushed to the Fedora EPEL 6 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=epel-testing python-httplib2-0.7.4-4.el6' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6212/python-httplib2-0.7.4-4.el6 then log in and leave karma (feedback).
python-httplib2-0.7.4-4.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.
python-httplib2-0.7.4-4.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
python-httplib2-0.7.4-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report.
python-httplib2-0.7.4-4.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report.