summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-07-01 11:57:35 +0200
committerMartin Basti <mbasti@redhat.com>2016-07-01 13:33:49 +0200
commitdc5b2eaa772fda5673b222bc9107cf5b85c1295d (patch)
treeab9e532dcfbfa5bb027ce018b588e3e23ddc585e
parent0ade41abbad324d8c54449f3b1024a7651dc259d (diff)
downloadfreeipa-dc5b2eaa772fda5673b222bc9107cf5b85c1295d.tar.gz
freeipa-dc5b2eaa772fda5673b222bc9107cf5b85c1295d.tar.xz
freeipa-dc5b2eaa772fda5673b222bc9107cf5b85c1295d.zip
client-install: log exceptions from certmonger.request_cert
Reviewed-By: Martin Basti <mbasti@redhat.com>
-rwxr-xr-xclient/ipa-client-install6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/ipa-client-install b/client/ipa-client-install
index cee202f89..8546ff8b0 100755
--- a/client/ipa-client-install
+++ b/client/ipa-client-install
@@ -1173,9 +1173,9 @@ def configure_certmonger(fstore, subject_base, cli_realm, hostname, options,
subject=subject,
principal=principal,
passwd_fname=passwd_fname)
- except Exception:
- root_logger.error("%s request for host certificate failed",
- cmonger.service_name)
+ except Exception as ex:
+ root_logger.error("%s request for host certificate failed: %s",
+ cmonger.service_name, ex)
def configure_sssd_conf(fstore, cli_realm, cli_domain, cli_server, options, client_domain, client_hostname):
try: