This function lists all pending SSL certificates from a cPanel Market provider for which the system currently polls.
uapi --output=jsonpretty \ --user=username \ Market \ get_pending_ssl_certificates \ provider='cPStore'
{- "apiversion": 3,
- "func": "get_pending_ssl_certificates",
- "module": "Market",
- "result": {
- "data": [
- {
- "created_time": 1417475501,
- "csr": "Click to view...-----BEGIN CERTIFICATE REQUEST----- MIIC4DCCAcgCAQAwgZoxFjAUBgNVBAMTDXRlc3RzaW1vbi5jb20xFjAUBgNVBAsT DURvY3VtZW50YXRpb24xDjAMBgNVBAgTBVRleGFzMQ8wDQYDVQQKEwZjUGFuZWwx KDAmBgkqhkiG9w0BCQEWGWxhdXJlbmNlLnNpbW9uQGNwYW5lbC5uZXQxCzAJBgNV BAYTAlVTMRAwDgYDVQQHEwdIb3VzdG9uMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8A MIIBCgKCAQEA4AVM6J4Qg3DIFWr/eJ5GRmIATYsJIepKbrDy70sq+udcO8R8xxak 0oMZ/9mUdpjSNK/fLVTuCO0kxTfQ9VUWJllX7ThD6Zh9ZvlC/nf/OEZLm3ZbnBgu 8rbC8E9wuDOkKbJLnINgdhtowIydLK2MJ++q62bFV89jkHWTMcKyyqHENo3hc+lk pd9vnp8rZTinaVb7nX26uQqAFZYRo+WU0G/NPsq40QVSMoqPxyEz4qXo0hvuIlCX mzFZq/6fCVPEKPLhQgMmpdBkMz4dVOazREfqXdjMD2+QXSNiA1AwWr8l0r4rtzlx EYDJIR41yXp0xMl3KoolxMyvLBqZy32niQIDAQABoAAwDQYJKoZIhvcNAQEFBQAD ggEBAEaCn+rg6qlhp6SEKuZg1G6z1M+1XQoTN3E6bTdM3rD1wXjqtyFfYGTy5Bvv gUKrl6t312owJ2si8/K9v/ocVxdjc0rPWSOWScfSc1Od3i1L1YuqbboL2aQSak3y gpGnZMHCUED1y4xyABAFOaXUurFiZj5u3P2mBAYGt2ez2afiPlo5YpTRNCoTUlVz KNKkyUnptBLOvlwGgerBmOoP4QdVhTSuxO9TECsiPdldE1BVZrlFclDFvoP01jFZ WOTWz+k3O202gK4w/tPP2VMVldNFrC0QoENu85ohT1nJj6F3mrM1CZ+1c8zYzr+S 6aAXFhHE6FweeunRAGjEJggoTPo= -----END CERTIFICATE REQUEST-----",
- "domains": [
- "example.com"
], - "expired": 0,
- "first_poll_time": 1437475501,
- "identity_verification": {
- "assumed_name": "cPanel",
- "business_category": "b",
- "countryName": "US",
- "date_of_incorporation": "1996-01-01T00:00:00.000Z",
- "duns_number": "12-345-6789",
- "joi_country_name": "US",
- "joi_locality_name": "Somewhere",
- "joi_state_or_province_name": "PA",
- "localityName": "Houston",
- "organizationName": "WebPros International, LLC",
- "organizationalUnitName": "Team Cobra",
- "postalCode": "77092",
- "rep_email_address": "richard.ang@cpanel.net",
- "rep_forename": "Richard",
- "rep_surname": "Ang",
- "rep_telephone": "713-529-0800",
- "stateOrProvinceName": "TX",
- "streetAddress": "2500 N. Loop W."
}, - "last_poll_time": 1457475501,
- "last_status_code": "CertificateNotFound",
- "order_id": "AAE35B28-E57B-11E5-A5DD-B633DD41FB49",
- "order_item_id": "1",
- "product_id": "12345",
- "provider": "cPStore",
- "status": "confirmed",
- "vhost_names": [
- "example.com"
]
}
], - "errors": null,
- "messages": null,
- "metadata": { },
- "status": 1,
- "warnings": null
}
}