ChangeCertificateSpec

ChangeCertificateSpec
ChangeCertificateSpec

Specification to install new certificate:

  • selfsignedFormat - Generate and install new self-signed certificate.
  • csrFormat - Install signed certificate based on a generated CSR.

    Initialize ONLY the property corresponding to the desired certificate installation format. Leave rest of the fields null or unset. If the appliance is already registered, specify vCenter credentials to update its registration.

JSON Example
{
    "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": [
            {}
        ]
    },
    "credentials": {
        "admin_user": "string",
        "admin_password": "string"
    }
}
selfsigned_format
Optional

Data to be used for generating the signing request.

csr_format
Optional

Signed certificate data based on a generated CSR.

credentials
Optional

Contains credentials information.