DrConfigGenerateCSR
This method generates a new key and CSR, and returns the CSR for signing. It returns
the certificate signing request in PEM format.
Synopsis
String generateCSR(@optional CsrData requestData);
requestData
parameter is the CsrInfo
with desired CSR parameters.CsrData
is a data
object. It provides information about about X509 certificate. It has the following
fields:
Field | Description |
---|---|
commonName | Common name to be set in the certificate.
Usually the fully qualified domain name for server. If not set,
data provided in FQDN (OS hostname) will be used. |
organization | Exact legal name of the organization. Do not
use an abbreviation. If not set, VMware default will be
used. |
organizationUnit | Section within the organization. If not set,
VMware default will be used. |
locality | City where organization is legally located. If
not set, VMware default will be used. |
state | State or province where organization is
legally located. Do not use an abbreviation. If not set, VMware
default will be used. |
country | Two letter ISO abbreviation for organization
country. If not set, VMware default will be used. |
emailAddress | Email address to contact the organization. If
not set, this will be empty. |
fqdn | List of comma-separated FQDN strings to be
used for SAN extensions. If not set, the OS hostname will be
used. |
ip | List of comma-separated IP strings to be used
for SAN extensions. If not set, this will be empty. |
Faults
- RuntimeFault
For more information about the faults, see
Faults in Site Recovery Manager Appliance Management API.