summaryrefslogtreecommitdiffstats
path: root/ipalib/install/certmonger.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/install/certmonger.py')
-rw-r--r--ipalib/install/certmonger.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipalib/install/certmonger.py b/ipalib/install/certmonger.py
index 6f0948af6..3ea900b18 100644
--- a/ipalib/install/certmonger.py
+++ b/ipalib/install/certmonger.py
@@ -312,9 +312,10 @@ def request_and_wait_for_cert(
state = wait_for_request(reqId, timeout=60)
ca_error = get_request_value(reqId, 'ca-error')
if state != 'MONITORING' or ca_error:
- raise RuntimeError("Certificate issuance failed")
+ raise RuntimeError("Certificate issuance failed ({})".format(state))
return reqId
+
def request_cert(
nssdb, nickname, subject, principal, passwd_fname=None,
dns=None, ca='IPA', profile=None, pre_command=None, post_command=None):