Generate CSR
DescriptionGenerate a new key and certificate signing request (CSR) and return it for signing.
Request
URLURL
Request Body
Certificate signing request settings.
{
"country": "US",
"email": "admin@vmware.com",
"ip": "10.20.11.15, 10.20.11.26",
"locality": "Palo Alto",
"organization": "VMware",
"organization_unit": "VMware organization unit",
"state": "California"
}
Common name to be set in CSR. Usually, it is the fully qualified domain name for the server. If not set, data provided in FQDN (OS hostname) will be used.
The two-letter ISO abbreviation for organization country. If not set, ‘US’ default is used.
An email address to contact the organization. Will be empty, if not set.
A list of comma-separated FQDN strings to be used for SAN extensions. If not set, OS hostname is used.
A list of comma-separated IP strings to be used for SAN extensions. Will be empty, if not set.
The city where organization is legally located. If not set, VMware default will be used.
The exact legal name of your organization. Do not use an abbreviation. If not set, VMware default is used.
Section of the organization. If not set, VMware default is used.
The state or province where organization is legally located. Do not use an abbreviation. If not set, VMware default is used.
Authentication
Response
Response BodyResponse Body
200 OK
Generated certificate signing request (CSR).
{
"_meta": {
"errors": [
{
"code": "string",
"field": "string",
"message": "string"
}
]
},
"value": "string"
}
Errors
Bad request - the server could not understand the request due to invalid syntax or invalid request body content
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
Internal server error - unexpected condition prevents fulfilling the request