v1

latestOpenAPI 3.0.2cPanel License2026-08-06657427.1 MB
SSL
cPanel Account SSL Management

Return all certificate signing requests

This function lists an account's certificate signing requests (CSR).

Important:

When you disable the Calendars and Contacts, Receive Mail, Web Disk, Webmail, and Web Server roles, the system disables this function.

get/SSL/list_csrs

Response

HTTP Request was successful.

apiversioninteger

The version of the API.

funcstring

The name of the method called.

modulestring

The name of the module called.

Example response

{
  "apiversion": 3,
  "func": "list_csrs",
  "module": "SSL",
  "result": {
    "data": [
      {
        "commonName": "example.com",
        "created": 1538265600,
        "domains": [
          "example.com"
        ],
        "ecdsa_curve_name": "prime256v1",
        "friendly_name": "TestCSR",
        "id": "example_com_c69ce_37ff5_1397169490_169c717cb2c260281df792788accf041",
        "key_algorithm": "rsaEncryption",
        "modulus": "a673c3b17344664b35f8791f562d3aea6bf4d8faa3ae3fc0a519380fd453964a36677c34d48677ecb7f5ed035df026f5f0f8fbfe21745e52daf1f3b9e58c73f0baefdb709320e2202e7d05250b051a59b30ff1fef22d83d7140c1c81cea314a0890ce8d2226799872181c58a74016c7aaa2cff5ac72b575cecde8f304aa572a2ea03d8b173ab76c6e8cdb9dfd0da81e1119cefd4b8b4dbfbe0e46c7f1ee2fe8b5fd5504e58ccbc0d13b4fa41ecc9ebd0dabe1d1fec5c724f748167e7c0553e997f9b77eb36abce70973f06df151748d41b758de3efd7afa6f2464a1547f5ff158469d96e248be464df9eda0e7ce854a89332a2c1278b17c425368a9604f454db"
      }
    ],
    "metadata": {
      "transformed": 1
    },
    "status": 1
  }
}