Sorry the delay.
I've reproduced the issue against https://bzr.debian.org:
Actual code get the following cert:
{'OCSP': (u'http://ocsp.usertrust.com',), 'caIssuers': (u'http://crt.usertrust.com/GandiStandardSSLCA2.crt',), 'crlDistributionPoints': (u'http://crl.usertrust.com/GandiStandardSSLCA2.crl',), 'issuer': ((('countryName', u'FR'),), (('stateOrProvinceName', u'Paris'),), (('localityName', u'Paris'),), (('organizationName', u'Gandi'),), (('commonName', u'Gandi Standard SSL CA 2'),)), 'notAfter': 'Apr 26 23:59:59 2018 GMT', 'notBefore': u'Apr 14 00:00:00 2016 GMT', 'serialNumber': u'4EA82D0B8C8B42D1BFC1061DC9720982', 'subject': ((('organizationalUnitName', u'Domain Control Validated'),), (('organizationalUnitName', u'Gandi Standard Wildcard SSL'),), (('commonName', u'*.alioth.debian.org'),)), 'subjectAltName': (('DNS', '*.alioth.debian.org'), ('DNS', 'alioth.debian.org')), 'version': 3L}
whereas with SNI it gets the proper:
{'OCSP': (u'http://ocsp.int-x3.letsencrypt.org/',), 'caIssuers': (u'http://cert.int-x3.letsencrypt.org/',), 'issuer': ((('countryName', u'US'),), (('organizationName', u"Let's Encrypt"),), (('commonName', u"Let's Encrypt Authority X3"),)), 'notAfter': 'Mar 27 11:49:00 2017 GMT', 'notBefore': u'Dec 27 11:49:00 2016 GMT', 'serialNumber': u'03667BE3EB8574E879B8D448575FF5DA86B6', 'subject': ((('commonName', u'git.debian.org'),),), 'subjectAltName': (('DNS', 'anonscm.debian.org'), ('DNS', 'arch.debian.org'), ('DNS', 'bzr.debian.org'), ('DNS', 'cvs.debian.org'), ('DNS', 'darcs.debian.org'), ('DNS', 'git.debian.org'), ('DNS', 'hg.debian.org'), ('DNS', 'svn.debian.org')), 'version': 3L}
I'll have a fix shortly.
Sorry the delay.
I've reproduced the issue against https:/ /bzr.debian. org:
Actual code get the following cert:
{'OCSP': (u'http:// ocsp.usertrust. com',), crt.usertrust. com/GandiStanda rdSSLCA2. crt',), onPoints' : (u'http:// crl.usertrust. com/GandiStanda rdSSLCA2. crl',),
(( 'stateOrProvinc eName', u'Paris'),),
(( 'localityName' , u'Paris'),),
(( 'organizationNa me', u'Gandi'),),
(( 'commonName' , u'Gandi Standard SSL CA 2'),)), 2D1BFC1061DC972 0982', nalUnitName' , u'Domain Control Validated'),),
( ('organizationa lUnitName' , u'Gandi Standard Wildcard SSL'),),
( ('commonName' , u'*.alioth. debian. org'),) ), debian. org'),
( 'DNS', 'alioth. debian. org')),
'caIssuers': (u'http://
'crlDistributi
'issuer': ((('countryName', u'FR'),),
'notAfter': 'Apr 26 23:59:59 2018 GMT',
'notBefore': u'Apr 14 00:00:00 2016 GMT',
'serialNumber': u'4EA82D0B8C8B4
'subject': ((('organizatio
'subjectAltName': (('DNS', '*.alioth.
'version': 3L}
whereas with SNI it gets the proper:
{'OCSP': (u'http:// ocsp.int- x3.letsencrypt. org/',), cert.int- x3.letsencrypt. org/',),
(( 'organizationNa me', u"Let's Encrypt"),),
(( 'commonName' , u"Let's Encrypt Authority X3"),)), 4E879B8D448575F F5DA86B6' , org'),) ,), debian. org'),
( 'DNS', 'arch.debian.org'),
( 'DNS', 'bzr.debian.org'),
( 'DNS', 'cvs.debian.org'),
( 'DNS', 'darcs. debian. org'),
( 'DNS', 'git.debian.org'),
( 'DNS', 'hg.debian.org'),
( 'DNS', 'svn.debian.org')),
'caIssuers': (u'http://
'issuer': ((('countryName', u'US'),),
'notAfter': 'Mar 27 11:49:00 2017 GMT',
'notBefore': u'Dec 27 11:49:00 2016 GMT',
'serialNumber': u'03667BE3EB857
'subject': ((('commonName', u'git.debian.
'subjectAltName': (('DNS', 'anonscm.
'version': 3L}
I'll have a fix shortly.