summaryrefslogtreecommitdiffstats
path: root/ipapython
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython')
-rw-r--r--ipapython/certmonger.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/ipapython/certmonger.py b/ipapython/certmonger.py
index f58b6dafb..85b0e9a79 100644
--- a/ipapython/certmonger.py
+++ b/ipapython/certmonger.py
@@ -166,7 +166,13 @@ def get_request_value(request_id, directive):
root_logger.error('Failed to get request: %s' % e)
raise
if request:
- return request.prop_if.Get(DBUS_CM_REQUEST_IF, directive)
+ if directive == 'ca-name':
+ ca_path = request.obj_if.get_ca()
+ ca = _cm_dbus_object(request.bus, ca_path, DBUS_CM_CA_IF,
+ DBUS_CM_IF)
+ return ca.obj_if.get_nickname()
+ else:
+ return request.prop_if.Get(DBUS_CM_REQUEST_IF, directive)
else:
return None