acme
acme copied to clipboard
Allow inclusion of a CSR in new-order requests
In #342, we moved the CSR from the new-order request to a "finalize" request. In making that change, we dropped support for certain legacy back-end APIs that require a CSR before issuing challenges. If we want to support those back-ends, we will need to re-enable sending CSR in new-order. It seems like there are basically three things to define here:
- Add a flag in
dictionary.meta
to indicate that a CSR is required in new-order - Re-add "csr" as a field in the new-order request and order objects
- Add an error code that indicates that a CSR was required in a new-order request
These features are cleanly enough separated that they can probably be handled in a small extension spec if there is a need for them.