vcenter certificate management vcenter tls csr: spec

The spec structure contains information to generate a Private Key and CSR. 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 This attribute was added in vSphere API 6.7.2.

Optional. keySize will take 2048 bits if not modified.

common_name string This attribute was added in vSphere API 6.7.2.

Optional. commonName will take PNID if not modified.

subject_alt_name string[] This attribute was added in vSphere API 6.7.2.

Optional. subjectAltName is list of Dns Names and Ip addresses.