summaryrefslogtreecommitdiffstats
path: root/install/certmonger
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-01-08 16:01:42 +0000
committerJan Cholasta <jcholast@redhat.com>2015-01-13 17:48:26 +0000
commita63df8f3091992e227fe4654977bb91386ce0491 (patch)
treea1396d9373ee0b03d4e9869aca07f0d72a942771 /install/certmonger
parent05e6adecb51b93e9b9d2326df4eabee90c3dfe72 (diff)
downloadfreeipa-a63df8f3091992e227fe4654977bb91386ce0491.tar.gz
freeipa-a63df8f3091992e227fe4654977bb91386ce0491.tar.xz
freeipa-a63df8f3091992e227fe4654977bb91386ce0491.zip
Fix CA certificate renewal syslog alert
https://fedorahosted.org/freeipa/ticket/4820 Reviewed-By: David Kupka <dkupka@redhat.com>
Diffstat (limited to 'install/certmonger')
-rwxr-xr-xinstall/certmonger/dogtag-ipa-ca-renew-agent-submit2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/certmonger/dogtag-ipa-ca-renew-agent-submit b/install/certmonger/dogtag-ipa-ca-renew-agent-submit
index c63c0c2c5..3c6e8175c 100755
--- a/install/certmonger/dogtag-ipa-ca-renew-agent-submit
+++ b/install/certmonger/dogtag-ipa-ca-renew-agent-submit
@@ -403,7 +403,7 @@ def renew_ca_cert():
if state == 'retrieve':
result = call_handler(retrieve_cert)
- if result[0] == WAIT_WITH_DELAY and not is_self_signed:
+ if result[0] == REJECTED and not is_self_signed:
syslog.syslog(syslog.LOG_ALERT,
"IPA CA certificate is about to expire, "
"use ipa-cacert-manage to renew it")