vcenter certificate management vcenter tls: replace spec

The replace_spec structure contains information to generate a Private Key , CSR and hence VMCA signed machine SSL. This structure was added in vSphere API 6.7.2.

Representation:

{
    "state_or_province""string",
    "country""string",
    "email_address""string",
    "organization""string",
    "locality""string",
    "subject_alt_name"[
        "string",
        "string"
    ],
    "common_name""string",
    "key_size"1,
    "organization_unit""string"
}

Attributes:

Name Type Description
Required
organization string Organization field in certificate subject. This attribute was added in vSphere API 6.7.2.

organization_unit string Organization unit field in certificate subject. This attribute was added in vSphere API 6.7.2.

locality string Locality field in certificate subject. This attribute was added in vSphere API 6.7.2.

state_or_province string State field in certificate subject. This attribute was added in vSphere API 6.7.2.

country string Country field in certificate subject. This attribute was added in vSphere API 6.7.2.

email_address string Email field in Certificate extensions. This attribute was added in vSphere API 6.7.2.

Optional
key_size long The size of the key to be used for public and private key generation. This attribute was added in vSphere API 6.7.2.

Optional. If unset the key size will be '2048'.

common_name string The common name of the host for which certificate is generated. This attribute was added in vSphere API 6.7.2.

Optional. If unset will default to PNID of host.

subject_alt_name string[] SubjectAltName is list of Dns Names and Ip addresses. This attribute was added in vSphere API 6.7.2.

Optional. If unset PNID of host will be used as IPAddress or Hostname for certificate generation .