List Certificates
Retrieves the certificates records.
Request
Request-Line
GET /sfd/v2.0/certs HTTP/1.1
Request Parameters
Response
Response Body
Parameter | Type | Required | Description |
---|---|---|---|
Array | Mandatory | Array of Certificate. |
Object: Certificate
Property name | Type | Required | Description |
---|---|---|---|
id | Long | Mandatory | Unique identifier of the certificate record. |
customerId | Integer | Mandatory | The certificate under customer ID. |
commonName | String | Mandatory | Common name. |
subjectAlternativeNames | String | Mandatory | Subject alternative names. |
serialNumber | String | Mandatory | Serial number. |
issuer | String | Mandatory | Issuer. |
organization | String | Optional | Organization. |
organizationalUnit | String | Optional | Organizational unit. |
country | String | Mandatory | Country. |
stateOrProvince | String | Optional | State or province. |
locality | String | Optional | Locality. |
validFrom | String | Mandatory | Validity period start time in UTC. |
validTo | String | Mandatory | Validity period end time in UTC. |
created | String | Mandatory | Created time in UTC. |
expireIn | Integer | Mandatory | Remaining days before the certificate expireds. |
Time Format: All timestamps use ISO 8601 format without milliseconds:
yyyy-MM-dd'T'HH:mm:ss'Z'
. Example:2025-06-25T08:59:38Z
Status Codes, Error Codes and Error Messages
Status Code | Error Code | Error Message |
---|---|---|
404 | Customer.NotFound | Customer is not found. |
403 | Customer.DELETED | Customer has been deleted. |
Examples
List Certificates
Request
GET /sfd/v2.0/certs HTTP/1.1
Successful Response Body
[
{
"id": 2362,
"customerId": 123,
"commonName": "test15.com",
"subjectAlternativeNames": "DNS:test15.com",
"serialNumber": "223671316347523214428015009789628456690",
"issuer": "MySSL.com",
"organization": "",
"organizationalUnit": "",
"country": "CN",
"stateOrProvince": "",
"locality": "",
"validFrom": "2024-06-26T08:49:42Z",
"validTo": "2024-07-26T08:49:42Z",
"created": "2024-06-26T09:05:20.452Z",
"expireIn": 21
},
{
"id": 2364,
"customerId": 123,
"commonName": "test17.com",
"subjectAlternativeNames": "DNS:test17.com",
"serialNumber": "4441663121581897505720151647690137728",
"issuer": "MySSL.com",
"organization": "",
"organizationalUnit": "",
"country": "CN",
"stateOrProvince": "",
"locality": "",
"validFrom": "2024-06-26T12:50:41Z",
"validTo": "2024-06-31T12:50:41Z",
"created": "2024-06-26T12:51:40.573Z",
"expireIn": -2
}
]