v1

latestOpenAPI 3.0.12026-07-1719674.9 KB
fabric-ca-server

Reenroll an enrollment certificate. This is useful for renewing an enrollment certificate before it expires or because it has been compromised.

post/api/v1/reenroll

Query parameters

castring

The name of the CA to direct this request to within the server, or the default CA if not specified

Headers

Authorizationstring required

An enrollment token consisting of two base 64 encoded parts separated by a period:

  • an enrollment certificate;
  • a signature over the HTTP method, URL path, request body, and the certificate.

Request body

requeststring required

A PEM-encoded string containing the CSR (Certificate Signing Request) based on PKCS #10.

profilestring

The name of the signing profile to use when issuing the certificate.

labelstring

The label used in HSM operations

canamestring

Name of the CA to direct traffic to within server.

Response

Successfully reenrolled identity

{"stackTrail":"components:schemas:responseBase:properties:result","oasType":"schema","type":"unknown"}
successboolean required

Boolean indicating if the request was successful.