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

WFE: Refuse to finalize orders with unrecognized profiles #7988

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aarongable
Copy link
Contributor

@aarongable aarongable commented Jan 30, 2025

The current profiles draft (https://datatracker.ietf.org/doc/draft-aaron-acme-profiles/00/) says:

If a server receives a request to finalize an Order whose profile the
CA is no longer willing to issue under, it MUST respond with a
problem document of type "invalidProfile". The server SHOULD attempt
to avoid this situation, e.g. by ensuring that all Orders for a
profile have expired before it stops issuing under that profile.

Add types and helper functions representing this new error type to the berrors, probs, and web packages. Update the WFE code which rejects new-order requests with unrecognized profiles to use these new types, and add similar code to the WFE's finalize path. Update the unit and integration tests to reflect the fact that we now configure at least one profile in both Staging and Prod (tracked in IN-10574).

@aarongable aarongable requested a review from a team as a code owner January 30, 2025 00:41
@aarongable aarongable requested a review from jprenken January 30, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant