From 4a97fd060168548503f1bc2dab0c385e0c90ca77 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 17 Oct 2012 13:44:45 -0400 Subject: Fix requesting certificates that contain subject altnames. https://fedorahosted.org/freeipa/ticket/3184 --- ipalib/plugins/cert.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins/cert.py') diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py index 781eeb03..c4bbf821 100644 --- a/ipalib/plugins/cert.py +++ b/ipalib/plugins/cert.py @@ -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'] -- cgit