Searches for certificates confirming given criteria.
Changed onInsert as many search criteria as needed. A reference about allowed values for criteria could be found below, under SearchCertificateCriteriaRestRequest model.
Request
- Base URL/ejbca/ejbca-rest-api (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"max_number_of_results": 10,
"criteria": [
{
"property": "CERTIFICATE_PROFILE",
"value": "ENDUSER",
"operation": "EQUAL"
}
]
}Response
Successful operation
Example response
[
{
"certificates": [
{
"certificate": "TUlJRFh6Q0NBLi4uZVcxWnJvMD0=",
"serial_number": "1234567890ABCDEF",
"response_format": "DER",
"certificate_chain": [
"ABC123efg...345xyz0="
],
"certificate_profile": "ENDUSER",
"end_entity_profile": "ExampleEEP"
}
]
}
]Changes
- breaking
removed the enum value
QUERYSERIAL_NUMBERUSERNAMESUBJECT_DNSUBJECT_ALT_NAMEEND_ENTITY_PROFILECERTIFICATE_PROFILEEXTERNAL_ACCOUNT_BINDING_IDCASTATUSISSUED_DATEEXPIRE_DATEREVOCATION_DATEof the request property// - info
added the new
QUERYSERIAL_NUMBERUSERNAMESUBJECT_DNSUBJECT_ALT_NAMEEXTERNAL_ACCOUNT_BINDING_IDEND_ENTITY_PROFILECERTIFICATE_PROFILEEXTERNAL_ACCOUNT_BINDING_IDCASTATUSISSUED_DATEEXPIRE_DATEREVOCATION_DATEenum value to the request property//
- breaking
- breaking
removed the enum value
QUERYSERIAL_NUMBERUSERNAMESUBJECT_DNSUBJECT_ALT_NAMEEXTERNAL_ACCOUNT_BINDING_IDEND_ENTITY_PROFILECERTIFICATE_PROFILEEXTERNAL_ACCOUNT_BINDING_IDCASTATUSISSUED_DATEEXPIRE_DATEREVOCATION_DATEof the request property// - info
added the new
QUERYSERIAL_NUMBERUSERNAMESUBJECT_DNSUBJECT_ALT_NAMEEND_ENTITY_PROFILECERTIFICATE_PROFILEEXTERNAL_ACCOUNT_BINDING_IDCASTATUSISSUED_DATEEXPIRE_DATEREVOCATION_DATEenum value to the request property//
- breaking