diff options
author | Fraser Tweedale <ftweedal@redhat.com> | 2016-08-15 15:39:49 +1000 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2016-08-26 09:09:45 +0200 |
commit | a381d888cd6effc480c373f19f6a0ecbf00c4182 (patch) | |
tree | 13231d09928442622da4cb392f9b705fc1030330 /ipaserver/plugins/cert.py | |
parent | e3acc3659c6349a0de837f9441c6324055d9a100 (diff) | |
download | freeipa-a381d888cd6effc480c373f19f6a0ecbf00c4182.tar.gz freeipa-a381d888cd6effc480c373f19f6a0ecbf00c4182.tar.xz freeipa-a381d888cd6effc480c373f19f6a0ecbf00c4182.zip |
x509: include otherName DER value in GeneralNameInfo
We want to include the whole DER value when we pretty-print
unrecognised otherNames, so add a field to the GeneralNameInfo
namedtuple and populate it for otherNames.
Part of: https://fedorahosted.org/freeipa/ticket/6022
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/plugins/cert.py')
-rw-r--r-- | ipaserver/plugins/cert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/cert.py b/ipaserver/plugins/cert.py index 3e9eda504..9ee0b38c0 100644 --- a/ipaserver/plugins/cert.py +++ b/ipaserver/plugins/cert.py @@ -559,7 +559,7 @@ class cert_request(Create, BaseCertMethod, VirtualCommand): "to the 'userCertificate' attribute of entry '%s'.") % dn) # Validate the subject alt name, if any - for name_type, desc, name in subjectaltname: + for name_type, desc, name, der_name in subjectaltname: if name_type == nss.certDNSName: name = unicode(name) alt_principal_obj = None |