Update Appliance Certificate

Update Appliance Certificate

Update the appliance certificate.

Request
URI
POST
https://{api_host}/appliance/certificates/server
COPY
Request Body

The appliance certificate to be updated.

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": [
            {}
        ]
    },
    "pkcs12_format": {
        "certificate": "string",
        "password": "string"
    }
}
selfsigned_format
Optional

selfsigned_format

csr_format
Optional

csr_format

pkcs12_format
Optional

pkcs12_format

Authentication
This operation uses the following authentication methods.
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

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


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

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.


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

The code of the error.

string
message
Optional

The message of the error.

string As uuid As uuid
op_id
Optional

The ID of the operation.