REST API Method: POST /rest/sbaconfig?action=exportp12key
This resource exports a PKCS12 certificate from a Sonus SBA.
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 |
---|
EncryptedPassword | Yes | No | string | none | 128 - Max Length | Identifies the password for the password protected PKCS12 certificate. |
---|
Code Block |
---|
|
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:
Code Block |
---|
|
<?xml version="1.0"?>
<root>
<status>
<http_code>200</http_code>
</status>
</root> |