Retrieving a certificate from its Handle.
Inputs | Description | Type | Regular expression | Mandatory |
handle | Certificate handle to retrieve | string | Yes |
Outputs | Description | Possible values |
commonName | certificate commonName | |
certificate | Requested certificate |
Error code
Error code | Parameter | Message | Value | comment |
723 | You’re not Reseller of the SSL certificate or the handle doesn’t exist | Handle does not exist or you are not the reseller of this certificate |
Command
<api> […] <command> <ssl_get_certificate> <handle>…</handle> </ssl_get_certificate> </command> </api> |
Response
<?xml version="1.0" encoding="utf-8"?> <api> <response> <trID>…</trID> <result code="…"> <msg>…</msg> </result> </response> <resData> <ssl_get_certificateData> <commonName>…</commonName> <certificate>…</certificate> </ssl_get_certificateData> </resData> </api> |