v1
latestOpenAPI 3.0.12026-07-177949123.5 KBv2/certificate
Searches for certificates confirming given criteria and pagination.
Insert as many search criteria as needed. A reference about allowed values for criteria could be found below, under SearchCertificateCriteriaRestRequestV2 model. Use -1 for current_page to get total number of certificate for the request criteria.
post/v2/certificate/search
Request body
Example request
{
"pagination": {
"page_size": 10,
"current_page": 1
},
"criteria": [
{
"property": "CERTIFICATE_PROFILE",
"value": "ENDUSER",
"operation": "EQUAL"
}
]
}Response
Successful operation
Example response
{
"certificates": [
{
"fingerprint": "123abc456def789ghi123klm456nop789qrs123t",
"c_afingerprint": "abc123def456ghi789klm123nop456qrs789tvx1",
"certificate_profile_id": 1,
"end_entity_profile_id": 1,
"expire_date": 2147483647000,
"issuer_dn": "CN=ExampleCA",
"not_before": 1659952800011,
"revocation_date": -1,
"revocation_reason": -1,
"serial_number": "1234567890ABCDEF",
"status": 20,
"subject_alt_name": "rfc822Name=john.doe@example.com",
"subject_dn": "CN=John Doe,SURNAME=Doe,GIVENNAME=John,C=SE",
"subject_key_id": "z123abc456def789ghi123klm456nop789qrs123",
"udpate_time": 1659967133000,
"username": "JohnDoe",
"base64_cert": "VFVsSlIuLi50MkE9PQ==",
"certificate_request": "-----BEGIN CERTIFICATE REQUEST-----\nMIICh...V8shQ==\n-----END CERTIFICATE REQUEST-----",
"crl_partition_index": 1,
"invalidity_date": -1,
"certificate_profile": "ENDUSER",
"end_entity_profile": "EMPTY"
}
]
}