esx attestation certificate csr: create spec
The
create_spec
structure contains information to generate a private key and CSR.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"
}
"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 |
organization_unit | string | Organization unit field in certificate subject |
locality | string | Locality field in certificate subject |
state_or_province | string | State field in certificate subject |
country | string | Country field in certificate subject |
email_address | string | Email field in certificate extensions |
Optional | ||
key_size | long | Size in bits of the generated private key. Optional. If unset, keySize will be 2048 bits. |
common_name | string | Common name for the certificate. This is typically the hostname of the associated server. Optional. If unset, commonName will be automatically generated based on the system hostname. |
subject_alt_name | string[] | Subject alternative names. Optional. If unset, subjectAltName will be empty. |