esx attestation certificate csr: get
Get the CSR.
Return the most recently generated CSR.
Request:
HTTP request
GET https://{server}/api/esx/attestation/certificate/csr
Response:
HTTP Status Code: 200
Response Body Structure:
{
"csr" : "string"
}
"csr" : "string"
}
Headers:
NoneType:
| Name | Type | Description |
|---|---|---|
| bold = required | ||
| - | info | A structure containing the CSR. |
| -.csr | string | Certificate Signing Request (CSR) in PEM format. |
Errors:
| HTTP Status Code | Type | Description |
|---|---|---|
| 500 | error | if there is a generic error. |
| 404 | not_found | if a CSR has not been created. |
| 401 | unauthenticated | if the caller is not authenticated. |
| 403 | unauthorized | if the caller is not authorized. |