CertificateAuthority_Certificate_Spec

CertificateAuthority_Certificate_Spec
CertificateAuthority_Certificate_Spec

The Certificate.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. Note: This structure is restricted for VMware internal use only.

JSON Example
{
    "key_size": 0,
    "common_name": "string",
    "organization": "string",
    "organization_unit": "string",
    "locality": "string",
    "state_or_province": "string",
    "country": "string",
    "email_address": "string",
    "ip_address": "string",
    "hostname": "string",
    "validity": 0
}
integer As int64
key_size
Optional

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. If unset the key size will be '2048'.

string
common_name
Required

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.

string
organization
Required

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.

string
organization_unit
Required

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.

string
locality
Required

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.

string
state_or_province
Required

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.

string
country
Required

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.

string
email_address
Required

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.

string
ip_address
Optional

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. If unset IPAddress will not be included in SAN.

string
hostname
Required

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.

integer As int64
validity
Optional

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. If unset validity will be set as 2 years.