summaryrefslogtreecommitdiffstats
path: root/ipa-compliance.cron
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2012-09-25 09:57:03 -0400
committerRob Crittenden <rcritten@redhat.com>2012-10-23 22:02:21 -0400
commitd6fbbd530ee94bc4cdd00c9106fd789e50fb81cf (patch)
treef1042737da4ef5784943222be87b97a550371461 /ipa-compliance.cron
parente4853ebc5910a526c74cc422fd3c1806708bc7aa (diff)
downloadfreeipa.git-d6fbbd530ee94bc4cdd00c9106fd789e50fb81cf.tar.gz
freeipa.git-d6fbbd530ee94bc4cdd00c9106fd789e50fb81cf.tar.xz
freeipa.git-d6fbbd530ee94bc4cdd00c9106fd789e50fb81cf.zip
Make sure the CA is running when starting services
- Provide a function for determinig the CA status using Dogtag 10's new getStatus endpoint. This must be done over HTTPS, but since our client certificate may not be set up yet, we need HTTPS without client authentication. Rather than copying from the existing http_request and https_request function, shared code is factored out to a common helper. - Call the new function when restarting the CA service. Since our Service can only be extended in platform-specific code, do this for Fedora only. Also, the status is only checked with Dogtag 10+. - When a restart call in cainstance failed, users were refered to the installation log, but no info was actually logged. Log the exception. https://fedorahosted.org/freeipa/ticket/3084
Diffstat (limited to 'ipa-compliance.cron')
0 files changed, 0 insertions, 0 deletions