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
A plug-in to provide SCEP renewal capabilities using client certificate authentication (as per the SCEP RFC (and earlier drafts).
To enable SCEP renewal, the following are required:
'Days before expiration' is set to an appropriate number (the SCEP RFC suggests 50% of certificate validity).
Upon an incoming SCEP renewal message, this plug-in will perform a validation of the Signer's certificate before allowing the request. This validation must meet all these criteria:
was issued by a trusted authority as the certificate was found in the EJBCA's database. Please note that the Signer's certificate could have been issued by a different CA to that which will perform the renewal.
SCEP renewals using a previously issued key may be permitted by the SCEP configuration with the parameter 'Allow Client Certificate Renewal using old key'. However, be aware that if the CA setting 'Enforce key renewal' is enabled, then this will prevent the certificate being issued.
During SCEP processing (for initial certificate or for renewals), the User's password will be reset to a random value. This will invalidate the Challenge Password previously known to the Client. This is the recommendation in the RFC (and earlier drafts).
How has this been tested?
A SystemTest is included. Run this with "ant test:runweb"
Checklist before requesting a review
See also Contributing Guidelines.