Adding CRL expiry checking into the CA health check.#972
Open
Stueypoo wants to merge 7569 commits into
Open
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
The heath check for the CAs can be improved by checking the CRL for expiry, but also checking if the CRL should have been generated based upon the CA settings of 'CRL Issue Interval' or 'CRL Overlap Time'.
The CRL test is optional. Enable it via the health check URL with the parameter "checkCrl=true". For example:
https://<IP>/ejbca/publicweb/healthcheck/ejbcahealth?checkCrl=trueHow has this been tested?
Tested manually.
Checklist before requesting a review
See also Contributing Guidelines.