Description
This function lists the account's SSL keys.
Warning:
We strongly recommend that you use the following UAPI function instead of this function:
-
SSL::list_keys
— This function lists an account's private keys.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
host |
string |
A domain for which a key exists. |
A domain on the cPanel account. |
example.com |
reason |
string |
A reason for failure. |
A string that describes the error. |
This is an error message. |
result |
Boolean |
Whether the function succeeded. |
|
1 |