Generate Csr
Generate Certificate Signing Request (CSR) for the given VCF component
Generate CSR Request Body
Show optional properties
{
"certificateId": "string",
"generateCsrSpec": {
"commonName": "string",
"keySize": "string",
"orgUnit": "string",
"organization": "string",
"subjectAltNames": {}
}
}
"{\n \"certificateId\" : \"885a9003-c47c-4c61-b5ab-ec93e61b7033\",\n \"generateCsrSpec\" : {\n \"country\" : \"US\",\n \"email\" : \"[email protected]\",\n \"keySize\" : \"KEY_2048\",\n \"keyAlgorithm\" : \"RSA\",\n \"locality\" : \"Palo Alto\",\n \"organization\" : \"VMware\",\n \"orgUnit\" : \"Engineering\",\n \"state\" : \"California\",\n \"commonName\" : \"vmsp.example.com\",\n \"subjectAltNames\" : {\n \"dns\" : [ \"vmsp.example.com\", \"vmsp-alt.example.com\" ],\n \"ip\" : [ \"192.168.1.100\", \"192.168.1.101\" ]\n }\n }\n}"
A key/Id of certificate which represent the VCF component against which CSR has to be generated
Represents request parameters for generate csr
The CSR generation workflow details
"{\n \"requestId\" : \"4881a542-e10c-4033-b161-41622324db01\",\n \"requestName\" : \"ucmgeneratecsrworkflow\",\n \"requestReason\" : \"Generate Certificate Signing Request (CSR) API\",\n \"requestType\" : \"Generate certificate signing request\",\n \"state\" : \"INPROGRESS\",\n \"errorCause\" : [ ],\n \"duration\" : 95,\n \"category\" : \"VCF_CERTIFICATE_MANAGEMENT\"\n}"
Categories for VCF workflow requests
Duration of the request
List of errors encountered during workflow execution
Unique identifier of the request
Name of the workflow request
Reason for the workflow request
Type of the workflow request (e.g., CREATE_ENVIRONMENT, VC_DATA_COLLECTION)
Current state of the workflow request (e.g., CREATED, IN_PROGRESS, COMPLETED, FAILED)
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"certificateId":"string","generateCsrSpec":"object"}' https://{api_host}/suite-api/api/fleet-management/certificate-management/csrs