esx kms providers client certificate csr: set
Set the certificate signing request (CSR) and private key.
The CSR will allow the certificate to be signed by a third party. Once the CSR is signed, certificate may be added as a client certificate.
Request:
HTTP request
PUT https://{server}/api/esx/kms/providers/{provider}/client-certificate/csr
{
"csr" : "string",
"private_key" : "secret string"
}
"csr" : "string",
"private_key" : "secret string"
}
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
provider | string | Identifier of the provider. |
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | set_spec | Specification describing new CSR and private key. |
-.csr | string | Certificate Signing Request. PEM format. |
-.private_key | secret | Private key. PEM format. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
400 | invalid_argument | if the provider Id is empty. |
404 | not_found | if the provider not found. |
401 | unauthenticated | if the caller is not authenticated. |
403 | unauthorized | if the caller is not authorized. |
500 | error | if any other error occurs. |