Incorrectly checks for SSL certificate domain names

Bug #839826 reported by Roman Yepishev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-httplib2 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

At the moment the checks for SSL domain names are failing due to incorrect indentation in the source code.
LP:797281: LP API broken in oneiric with python-httplib2 0.7.0-1 has some merges that DISABLE SSL checks completely thus disabling all SSL checks.

Here's how the exception look:
httplib2.CertificateHostnameMismatch: Server presented certificate that does not match host files.one.ubuntu.com: {'notAfter': 'Oct 27 01:38:03 2011 GMT', 'subjectAltName': (('DNS', 'www.files.one.ubuntu.com'), ('DNS', 'files.one.ubuntu.com')), 'subject': ((('organizationName', u'files.one.ubuntu.com'),), (('organizationalUnitName', u'Domain Control Validated'),), (('commonName', u'files.one.ubuntu.com'),))}

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python-httplib2 0.7.1-1 [modified: usr/share/pyshared/httplib2/__init__.py]
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Fri Sep 2 22:03:33 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
SourcePackage: python-httplib2
UpgradeStatus: Upgraded to oneiric on 2011-08-30 (3 days ago)

Related branches

Revision history for this message
Roman Yepishev (rye) wrote :
Revision history for this message
Roman Yepishev (rye) wrote :
Changed in python-httplib2 (Ubuntu):
importance: Undecided → High
Revision history for this message
Daniel Holbach (dholbach) wrote :

Got uploaded by Martin. :)

Changed in python-httplib2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.