|
Name | Mandatory | Default | Description |
---|---|---|---|
keySize | O | keySize2K | Size of RSA key or ECDSA-name to generate private key via openssl command. Default size is 2K (RSA). |
csrSub | M | CSR subject name. | |
subjectAlternativeDnsName | O | CSR subject alternative DNS name. |
Name | Description |
---|---|
result | request status, 0 (success), failed otherwise |
status | Base64(PEM) encoded PKCS#10 CSR string if request is successful, i.e. result value is 0. Error description if request is not successful, i.e. result value is not 0. |
RESTCONF API: POST Example |
---|
curl -kisu 'admin:secret' -X POST -H 'Content-Type: application/yang-data+xml' https://{SBX-SERVER}/restconf/operations/sonusNodeList:node={nodeName}/sonusNodeListSystem:system/sonusNodeListGen2Security:security/pki/certificate={name}/generateCSR --data ' |