Resources | node | system | security | pki | certificate | importCert

importCert

Import PEM format certificate.

Input Params

NameMandatoryDefaultDescription
certContentM Certificate content in PEM format.

Output Params

NameDescription
result request status, 0 (success), failed otherwise
status 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}/importCert --data '
<importCert>
     <certContent>{certContent}</certContent>
</importCert>
'

  • No labels