CsrSpec

CsrSpec
CsrSpec

CSR Spec.

JSON Example
{
    "certificate_usage": "MACHINE",
    "dns_subject_alternative_names": [
        "server.example.com",
        "www.vmware.com"
    ],
    "subject_name": "CN=Horizon-server.example.local, OU=VMware Horizon View default certificate, O=VMware, S=California, C=CALIFORNIA"
}
string
certificate_usage
Required

Indicates the type of certificate based on usage.

  • MACHINE: vdm certificates
  • CLUSTER: vdm.ec certificates
Possible values are : MACHINE, CLUSTER,
array of string
dns_subject_alternative_names
Optional

Subject alternative DNS names. If the 'certificateUsage' is set to 'CLUSTER', the cluster GUID can be provided in this field. If the cluster GUID is not provided in 'dnsSubjectAlternativeNames', the CSR generation process will automatically append it, along with the value provided in dnsSubjectAlternativeNames

string
subject_name
Required

Subject name. If the 'certificateUsage' is set to 'CLUSTER', the cluster GUID can be provided in this field. If the cluster GUID is not provided in the subject name, the CSR generation process will automatically append the cluster GUID to the 'dnsSubjectAlternativeNames' field, ensuring that the generated CSR is specific to the cluster and does not conflict with other clusters.

Parameter To