{"type":"api","title":"Generate Certificate Signing Request","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Certificate Management - vManage"],"summary":"Generate Certificate Signing Request","description":"Generate Certificate Signing Request","operationId":"getCSR","requestBody":{"description":"Web Server Certificate configuration","content":{"application/json":{"schema":{"type":"object"},"examples":{"Web Server Certificate Request":{"description":"Web Server Certificate Request","value":{"company_name":"abc","org_unit":"abc","org":"abc","location":"abc","state":"abc","country":"IN","email":"abc@cisco.com","subject_alternative_name_dns":[""],"subject_alternative_name_uri":[""]},"$$ref":"#/components/examples/ComViptelaVmanageServerSettingapiRequestExamplePostwebservercertificaterequest"}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"string"},"examples":{"Web Server Certificate Response":{"description":"Web Server Certificate Response","value":{"csrDetails":"-----BEGIN CERTIFICATE REQUEST-----\nMIICtDCCAZwCAQAwUzEMMAoGA1UEAwwDYWJjMQswCQYDVQQGEwJJTjEMMAoGA1UE\nCAwDYWJjMQwwCgYDVQQHDANhYmMxDDAKBgNVBAoMA2FiYzEMMAoGA1UECwwDYWJj\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArnPatRDaE3Q2g5Y/JLRY\nWEdFPjgqMD1jBPiEYatPpKnn0Xd+bCidc5+OC+hboX8R8KZr55eii+3Li3PVXKKP\ndyOoJS+rn9NLE3fP+c9QFXBoALOdVG+GrxEHBHDvO92hHv9sRaI77WmHSw7kDf8J\nKmvuumaRbLHB1LukYkhx0wDy6HyKBvXwyIrdDdVH4izYQn6FqZcohYCBd4COLr3E\nDTaEjT7mJFS/mdNtowq6IPgnRV0eD1+Eusok1q2r3MKR+mvCdS9N2ps+ukss5Ryc\nYU7Wanq4HNpsWiC6neRvdFmPZNnipTDJhCqItsJEs5e4MkQTuLEA7aECJlxvzo4K\nHwIDAQABoBwwGgYJKoZIhvcNAQkOMQ0wCzAJBgNVHREEAjAAMA0GCSqGSIb3DQEB\nBQUAA4IBAQCtzk9qwB3KutcMdSeKGnJIg2emvvpcl2Myzk4xCk1Z2R/8VeC8R9Su\nJTBC62ptohWglAiePUMA284ieDnQYdg9BDQCJyK9Mi9dEcaa5u50XZkk9Xon5w9U\nCuwahOEDUm23RBCuXWfzZJA5Jj4oAu24Y0zIQFeUoUqsDO5GoBgrRPU3MxtCKu+J\n5xlYgvfLVDUAYvpQzGkiufbbJBSj49yidchQX9H/ub+qzLSl9sXv6eGiH7BRGVTD\ng8Yhk3ik0n8GZrtXep89utFRwL+oWwe2QpJR0WffL0eyyxegjkWkMhHkoCdHKVay\nvCiN1B07UUqgyR0Yya30Y4QL4Li6w/IS\n-----END CERTIFICATE REQUEST-----"},"$$ref":"#/components/examples/ComViptelaVmanageServerSettingapiResponseExamplePostwebservercertificateresponse"}}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","description":"Error code associated with the error event"},"details":{"type":"string","description":"Error message details"},"message":{"type":"string","description":"Error message title"},"type":{"type":"string","description":"Error message type"}},"$$ref":"#/components/schemas/InlineResponse400Error"}},"$$ref":"#/components/schemas/InlineResponse400"}}}},"403":{"description":"Forbidden"},"500":{"description":"Internal Server"}},"x-roles-required":"Settings-write","method":"post","path":"/setting/configuration/webserver/certificate"}}