Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

REST API Method: POST /rest/certificate/{identifier}?action=import

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://192.168.0.111/rest/certificate/{identifier}?action=import

HTTP Method

POST

Requires Authentication:

true

Noprint
Panel
bgColortransparent
titleBGColor#DDD
title[certificate - REST API Methods|Resource - certificate]

Page Tree
root@parent



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
CertFileOperationYesNoEnum0Possible 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.
CertFileContentYesNostringnone10000 - Max LengthIndicates copy and paste of the entire data to be copied from a base64 encoded signed server certificate file.
CertFileNameYesNostringnone80 - Max LengthIndicates the name of the file to be uploaded with allowable file type extension such as pem, der, cer, ber and p7b.