esx kms providers server certificates: set
Add trusted server certificate(s).
The client will use these certificates to validate the server connection. The existing list of trusted certificates will be overwritten.
The client will not trust the server connection until a server certificate has been set.
Request:
HTTP request
PUT https://{server}/api/esx/kms/providers/{provider}/server-certificates
[
"string",
"string"
]
"string",
"string"
]
Path Parameters
Name | Type | Description |
---|---|---|
Required | ||
provider | string | Identifier of the provider. |
Body Parameters:
Name | Type | Description |
---|---|---|
bold = required | ||
- | string[] | The server certificates to trust, PEM. |
Response:
HTTP Status Code: 204
Headers:
NoneType:
NoneErrors:
HTTP Status Code | Type | Description |
---|---|---|
400 | invalid_argument | if one or more certificates are invalid or the provider Id is empty. |
404 | not_found | if the provider is not found. |
401 | unauthenticated | if the caller is not authenticated. |
403 | unauthorized | if the caller is not authorized. |
400 | unsupported | if the certificate count reaches the max limit. |
500 | error | if any other error occurs. |