Update Appliance Certificate
Update the appliance certificate.
Request
URI
POST
https://{api_host}/appliance/certificates/server
COPY
Request Body
Updated the appliance certificate.
InstallCertificateSpec of type(s) application/json
Optional
{
"selfsigned_format": {
"common_name": "string",
"organization": "VMware",
"organization_unit": "VMware organization unit",
"fqdn": "string",
"ip": "10.20.11.15, 10.20.11.26",
"locality": "Palo Alto",
"state": "California",
"country": "US",
"email": "[email protected]"
},
"csr_format": {
"certificate": "string",
"ca_chain": [
"string"
]
},
"pkcs12_format": {
"certificate": "string",
"password": "string"
}
}
Responses
204
Appliance certificate is updated.
Operation doesn't return any data structure
400
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id
401
Unauthorized - the client must authenticate itself to get the requested response
Operation doesn't return any data structure
403
Forbidden - not sufficient access rights to fulfill the request
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id
500
Internal server error - unexpected condition prevents fulfilling the request
Returns ResponseError of type(s) application/json
{
"error_code": "string",
"message": "string",
"op_id": "string"
}
string
error_code
Optional
error_code
string
message
Optional
message
string As uuid As uuid
op_id
Optional
op_id