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.
{
"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
}
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'.
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 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 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 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 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 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 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.
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.
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.
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.