VMware Networking Community
Hamidreza74
Enthusiast
Enthusiast

Generate CSR with API

Hi
I can't Generate CSR by API, I copied and paste it base on API Doc, but still got this error :
{
"module_name": "common-services",
"error_message": "The requested URI: /api/v1/trust-managment/csrs could not be found.",
"error_code": 258
}

I use this API :
POST
https://[ip-address]/api/v1/trust-managment/csrs
{
"subject": {
"attributes": [
{
"key": "CN",
"value": "Jane"
},
{
"key": "O",
"value": "VMware"
},
{
"key": "OU",
"value": "NSBU"
},
{
"key": "C",
"value": "US"
},
{
"key": "ST",
"value": "CA"
},
{
"key": "L",
"value": "PA"
}
]
},
"algorithm": "RSA",
"key_size": 2048

}

i attach my postman file

0 Kudos
0 Replies