You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

REST API Method: POST /rest/sbaconfig?action=exportp12key

This resource exports a PKCS12 certificate from a Sonus SBA.

Status of the action must be retrieved by polling the SBA Action Status Resource .

URL:

https://134.56.227.163/rest/sbaconfig?action=exportp12key

HTTP Method

POST

Requires Authentication:

true



Parameters

Parameter Name Required Service Affecting Data Type Default Value Possible Values Description
EncryptedPasswordYesNostringnone128 - Max Length Identifies the password for the password protected PKCS12 certificate.

Usage Example: (about cURL | requires a session token)

curl --cookie PHPSESSID=8tgs4fp1508f4vrabq1ob27ku2 --cacert 1kCAcert.pem --data -i https://134.56.227.163/rest/sbaconfig?action=exportp12key --data "EncryptedPassword=ABCXYZ -o SBAcert.p12"


Response:

<?xml version="1.0"?>
<root>
 <status>
  <http_code>200</http_code>
 </status>
</root>
  • No labels