Description
This function retrieves certificate signing requests (CSR) for a private key.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
You must include one of the following parameters:
Parameter |
Type |
Description |
Possible values |
Example |
id |
string |
The key's ID. |
A valid string. |
example_com_cb497_a394d_1397249671_d1272da8f13a1fd837493a5ad1f0a0f3 |
friendly_name |
string |
The key's friendly name. |
A valid string. |
TestKey |
Returns
Return |
Type |
Description |
Possible values |
Example |
created |
string |
When the CSR was created. |
A valid date in Unix time format. |
1402332791 |
domains |
string |
The domains that the CSR covers. |
A valid domain or domains. |
example.com |
commonName |
string |
The CSR's common name. |
A valid domain. |
example.com |
modulus |
string |
The CSR's modulus. |
A valid string. |
|
id |
string |
The CSR's ID. |
A valid string. |
|
friendly_name |
string |
The CSR's friendly name. |
A valid string. |
TestCSR |