Skip to content

Detail WillingToIssue errors in VerifyCSR #3727

Closed

Description

@alexzorin

At the moment, VerifyCSR swallows the reasons why badNames are bad:

boulder/csr/csr.go

Lines 95 to 97 in 3df93d2

if len(badNames) > 0 {
return fmt.Errorf("policy forbids issuing for: %s", strings.Join(badNames, ", "))
}

Could this be brought in line with the RA, which exposes the underlying reason to the wfe in NewAuthorization/NewOrder?

At the moment, it is possible to get to the order finalization stage and submit a flawed CSR (for example, with an invalid CN of example.org www.example.org), resulting in a vague policy forbids issuing for error (which kind of implies the domain has been blacklisted).

It might be more useful to report a map of bad identifiers and their respective failure reasons (subject to length limits).

Activity

  1. modified the milestone: Sprint 2018-05-22 on May 22, 2018
  2. cpu commented on May 2, 2019

    @cpu
    Contributor

    It might be more useful to report a map of bad identifiers and their respective failure reasons (subject to length limits).

    I started looking into this issue and came to the same conclusion. I don't want to deliver some kind of serialized map in the problem's details field (:scream:) so I think implementing subproblems is the best path forward. I opened #4193 with some design thoughts and hope to get to that within the next few sprints. After that lands I can address this issue and improve the granularity of many NewOrder errors at the same time.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions