diff options
author | Petr Viktorin <pviktori@redhat.com> | 2012-09-25 09:57:03 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-10-23 22:02:21 -0400 |
commit | d6fbbd530ee94bc4cdd00c9106fd789e50fb81cf (patch) | |
tree | f1042737da4ef5784943222be87b97a550371461 /ipa-compliance.cron | |
parent | e4853ebc5910a526c74cc422fd3c1806708bc7aa (diff) | |
download | freeipa.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