[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Create CSR And Key V2
DescriptionThis API is used to create CSR with a key.
Request
URLURL
https://localhost:8080/lcm/locker/api/v2/certificates/csr
Request Body
Request Body
{
"c": "IN",
"cN": "certificate1",
"host": [
"<host>"
],
"ip": [
"<ip>"
],
"l": "IN",
"o": "vmware",
"oU": "vmware",
"sT": "IN",
"size": 4096,
"vmid": "6c9fca27-678d-4e79-9a0f-5f690735e67c"
}
string
c
Optional
Country Code
string
cN
Optional
Common Name
array of
string
host
Optional
Server Domain/Hostname
array of
string
ip
Optional
IP Address
string
l
Optional
Locality
string
o
Optional
Organization
string
oU
Optional
Organization Unit
string
sT
Optional
State
integer as int32
size
Optional
Key Length
string
transactionId
Optional
string
vmid
Optional
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
string
of type(s) */*
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"c":"IN","cN":"certificate1","host":["<host>"],"ip":["<ip>"],"l":"IN","o":"vmware","oU":"vmware","sT":"IN","size":4096,"vmid":"6c9fca27-678d-4e79-9a0f-5f690735e67c"}' https://localhost:8080/lcm/locker/api/v2/certificates/csr
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager