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

This resource imports a server or trusted CA certificate to a 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



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 Length Indicates copy and paste of the entire data to be copied from a base64 encoded signed server certificate file.
CertFileNameYesNostringnone80 - Max Length Indicates the name of the file to be uploaded with allowable file type extension such as pem, der, cer, ber and p7b.

  • No labels