Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow fetching the specified issuer's CRL #15118

Closed
wants to merge 1 commit into from

Conversation

cipherboy
Copy link
Contributor

We add a new API endpoint to fetch the specified issuer's CRL directly
(rather than the default issuer's CRL at /crl and /certs/crl).

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>


This adds the test cases that validate #15100 (ish, obviously we'll want more thorough ones but this should get us started). I'll rebase this one once that one merges.

fields = addIssuerRefNameFields(fields)

return &framework.Path{
// Returns raw values.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there value in perhaps adding a JSON equivalent (like /certs/crl) here too, for anyone using the CLI?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do this in another PR.

We add a new API endpoint to fetch the specified issuer's CRL directly
(rather than the default issuer's CRL at /crl and /certs/crl). We also
add a new test to validate the CRL in a multi-root scenario and ensure
it is signed with the correct keys.

Signed-off-by: Alexander Scheel <alex.scheel@hashicorp.com>
@cipherboy
Copy link
Contributor Author

Manually merged, thanks all!

@cipherboy cipherboy closed this Apr 22, 2022
@cipherboy cipherboy deleted the cipherboy-per-issuer-crls branch May 17, 2022 14:33
@cipherboy
Copy link
Contributor Author

This PR was merged in #15277. See that PR and the relevant docs PR #15238 for more information about this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants