ssl_get_csr

Recover CSR of a certificate from its Handle.

Inputs Description Type Regular expression Mandatory
handle Handle of the certificate  from which you want to retrieve the CSR string Yes

 

Outputs Description Possible values
commonName certificate commonName
CSR CSR of the 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_csr>
<handle>…</handle>
</ssl_get_csr>
</command>
</api>

 

Response

<?xml version=”1.0″ encoding=”utf-8″?>
<api>
<response>
<trID>…</trID>
<result code=”…”>
<msg>…</msg>
</result>
</response>
<resData>
<ssl_get_csrData>
<commonName>…</commonName>
<certificate>…</certificate>
</ssl_get_csrData>
</resData>
</api>