summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-10-17 13:44:45 -0400
committerMartin Kosek <mkosek@redhat.com>2012-10-19 16:16:06 +0200
commit4a97fd060168548503f1bc2dab0c385e0c90ca77 (patch)
tree76b45020cce22af08ac0155299e6c65cc54f7a0e /ipalib
parentfed5bbd2989a20e1562598033791a0b03d2898be (diff)
downloadfreeipa-4a97fd060168548503f1bc2dab0c385e0c90ca77.tar.gz
freeipa-4a97fd060168548503f1bc2dab0c385e0c90ca77.tar.xz
freeipa-4a97fd060168548503f1bc2dab0c385e0c90ca77.zip
Fix requesting certificates that contain subject altnames.
https://fedorahosted.org/freeipa/ticket/3184
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/cert.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/cert.py b/ipalib/plugins/cert.py
index 781eeb037..c4bbf8215 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']