Skip to main content

List Certificates

Retrieves the certificates records.

Request

Request-Line

GET /sfd/v2.0/certs HTTP/1.1

Request Parameters

Response

Response Body

ParameterTypeRequiredDescription
ArrayMandatoryArray of Certificate.

Object: Certificate

Property nameTypeRequiredDescription
idLongMandatoryUnique identifier of the certificate record.
customerIdIntegerMandatoryThe certificate under customer ID.
commonNameStringMandatoryCommon name.
subjectAlternativeNamesStringMandatorySubject alternative names.
serialNumberStringMandatorySerial number.
issuerStringMandatoryIssuer.
organizationStringOptionalOrganization.
organizationalUnitStringOptionalOrganizational unit.
countryStringMandatoryCountry.
stateOrProvinceStringOptionalState or province.
localityStringOptionalLocality.
validFromStringMandatoryValidity period start time in UTC.
validToStringMandatoryValidity period end time in UTC.
createdStringMandatoryCreated time in UTC.
expireInIntegerMandatoryRemaining 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 CodeError CodeError Message
404Customer.NotFoundCustomer is not found.
403Customer.DELETEDCustomer 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
}
]