REST API Method: POST /rest/certificate/{identifier}?action=import
Page Tree |
---|
root | Resource - certificate |
---|
|
This resource imports a server or trusted CA certificate to a Sonus SBC node. Certificate ID 1 is the server certificate, any other ID is a trusted CA certificate.
URL:
https://134.56.227.163/rest/certificate/{identifier}?action=import
HTTP Method
POST
Requires Authentication:
true
Parameters
Parameter Name | Required | Service Affecting | Data Type | Default Value | Possible Values | Description |
---|
CertFileOperation | Yes | No | Enum | 0 | Possible values: - 0 - certOperationUnknown
- 1 - certOperationCopyAndPaste
- 2 - certOperationFileUpload
| Specifies the mode to be used for uploading the certificate file. - Copy and Paste
- Indicates copy and paste of the base64 encoded content from the signed server certificate file. - File Upload
- Indicates the name of the file to be uploaded with allowable file type extension such as pem, der, cer, ber and p7b.
|
---|
CertFileContent | Yes | No | string | none | 10000 - Max Length | Indicates copy and paste of the entire data to be copied from a base64 encoded signed server certificate file. |
---|
CertFileName | Yes | No | string | none | 80 - Max Length | Indicates the name of the file to be uploaded with allowable file type extension such as pem, der, cer, ber and p7b. |
---|
Code Block |
---|
|
Put code example here |
Response:
Code Block |
---|
|
Put Code response here |