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"
    }
}
object
selfsigned_format
Optional

Data to be used for generating the signing request.

object
csr_format
Optional

Signed certificate data based on a generated CSR.

object
pkcs12_format
Optional

Data to be used to install PKCS12 certificate.

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
"ResponseError Object"
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
"ResponseError Object"
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
"ResponseError Object"
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.


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/appliance/certificates/server