vcenter certificate authority certificate: spec

The spec structure contains information to generate a Private Key , CSR and hence SSL Certificate. Warning: This structure is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Representation:

{
    "state_or_province""string",
    "country""string",
    "hostname""string",
    "email_address""string",
    "organization""string",
    "locality""string",
    "ip_address""string",
    "validity"1,
    "common_name""string",
    "key_size"1,
    "organization_unit""string"
}

Attributes:

Name Type Description
Required
common_name string The common name of the host for which certificate is generated. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

organization string Organization field in certificate subject. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

organization_unit string Organization unit field in certificate subject. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

locality string Locality field in certificate subject. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

state_or_province string State field in certificate subject. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

country string Country field in certificate subject. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

email_address string Email field in Certificate extensions. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

hostname string Hostname field in Certificate extensions. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional
key_size long The size of the key to be used for public and private key generation. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

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

ip_address string IPAddress of the of the host for which certificate is generated. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset IPAddress will not be included in SAN.

validity long Validity field takes as input the number of years for which the generated certificate is to be made valid. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Optional. If unset validity will be set as 2 years.