We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It raises AttributeError when a cert has no common name.
>>> from twisted.internet import ssl >>>pemfn = 'UbuntuOne-Go_Daddy_CA.pem' >>> pemd = open(pemfn, 'r').read() >>> ssl.Certificate.loadPEM(pemd) Traceback (most recent call last): File "<console>", line 1, in <module> File "Twisted-11.1.0-py2.7-macosx-10.7-x86_64.egg/twisted/internet/_sslverify.py", line 166, in __repr__ self.getIssuer().commonName) File "Twisted-11.1.0-py2.7-macosx-10.7-x86_64.egg/twisted/internet/_sslverify.py", line 85, in __getattr__ raise AttributeError(attr) AttributeError: commonName >>>
trac-id__5851 5851 type__defect defect reporter__mmcc mmcc priority__normal normal milestone__ branch__ branch_author__ status__new new resolution__None None component__core core keywords__ time__1344292164000000 1344292164000000 changetime__1344339159000000 1344339159000000 version__None None owner__
The text was updated successfully, but these errors were encountered:
Fixes twisted#5851
627f532
#5851 Fix AttributeError on t.i.ssl.Certificate repr (#11930)
d6aff14
Successfully merging a pull request may close this issue.
It raises AttributeError when a cert has no common name.
Searchable metadata
The text was updated successfully, but these errors were encountered: