mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
Fix requesting certificates that contain subject altnames.
https://fedorahosted.org/freeipa/ticket/3184
This commit is contained in:
parent
fed5bbd298
commit
4a97fd0601
@ -336,6 +336,7 @@ class cert_request(VirtualCommand):
|
||||
subjectaltname = pkcs10.get_subjectaltname(request)
|
||||
if subjectaltname is not None:
|
||||
for name in subjectaltname:
|
||||
name = unicode(name)
|
||||
try:
|
||||
hostentry = api.Command['host_show'](name, all=True, raw=True)['result']
|
||||
hostdn = hostentry['dn']
|
||||
|
Loading…
Reference in New Issue
Block a user