vcenter certificate management vcenter tls: spec

The spec structure contains information for a Certificate and Private Key. This structure was added in vSphere API 6.7.2.

Representation:

{
    "cert""string",
    "root_cert""string",
    "key""secret string"
}

Attributes:

Name Type Description
Required
cert string Certificate string in PEM format. This attribute was added in vSphere API 6.7.2.

Optional
key secret Private key string in PEM format. This attribute was added in vSphere API 6.7.2.

Optional. If unset the private key from the certificate store will be used. It is required when replacing the certificate with a third party signed certificate.

root_cert string Third party Root CA certificate in PEM format. This attribute was added in vSphere API 6.9.1.

Optional. If unset the new third party root CA certificate will not be added to the trust store. It is required when replacing the certificate with a third party signed certificate if the root certificate of the third party is not already a trusted root.