pub async fn get_csrattrs(
_auth: OptionalAuth,
label: LabelExtractor,
__arg2: State<Arc<AppState>>,
) -> Result<Response, KipukaError>Expand description
GET /.well-known/est/csrattrs
Returns the CSR attributes that the server expects in enrollment requests for the resolved label.
§Response
| Header | Value |
|---|---|
| Status | 200 OK or 204 No Content |
| Content-Type | application/csrattrs |
The body is a base64-encoded DER sequence of AttrOrOID values
(RFC 7030 §4.5.2):
CsrAttrs ::= SEQUENCE SIZE (1..MAX) OF AttrOrOID
AttrOrOID ::= CHOICE {
oid OBJECT IDENTIFIER,
attribute Attribute
}§Authentication
No authentication required per RFC 7030 §4.5.
§Errors
404 Not Found— unknown EST label500 Internal Server Error— attribute encoding failure