POST Monitoring Resolve OSCP

The POST /Monitoring/ResolveOCSP method is used to resolve the given OCSP certificate authorityClosed A certificate authority (CA) is an entity that issues digital certificates. Within Keyfactor Command, a CA may be a Microsoft CA or a Keyfactor gateway to a cloud-based or remote CA.. This method returns HTTP 200 OK on a success with details of the location.

Tip:  The following permissions (see Security Roles and Claims) are required to use this feature:

/monitoring/alerts/read

Table 554: POST Monitoring Resolve OCSP Input Parameters

Name In Description
CertificateContents Body

Required*. A string indicating the certificate contents of a base-64 encoded PEM issued by the CA that you wish to resolve.

One of either CertificateContents or CertificateAuthorityId is required, but not both.

CertificateAuthorityId Body

Required*. An integer indicating the Keyfactor Command reference ID of the CA in the database.

Use the GET /CertificateAuthority method (see GET Certificate Authority) to retrieve a list of all the CAs to determine the ID.

One of either CertificateContents or CertificateAuthorityId is required, but not both.

Table 555: POST Monitoring Resolve OCSP Response Data

Name Description
CertificateAuthorityId

An integer indicating the Keyfactor Command reference ID of the CA in the database.

AuthorityName A string indicating the resolved certificate authority's name in X.509 format.
AuthorityNameId A string indicating the hash of the certificate authority's name in hex format.
AuthorityKeyId A string indicating the subject key identifier of the certificate authority's certificate, a hash of the CA certificate public key.
SampleSerialNumber When submitting the request using CertificateAuthorityId, this value returns a string indicating the serial number of the issuing certificate authority's certificate. When submitting the request using CertificateContents, this value returns a string indicating the serial number of the certificate provided in the request.
Tip:  See the Keyfactor API Reference and Utility which provides a utility through which the Keyfactor APIClosed An API is a set of functions to allow creation of applications. Keyfactor offers the Keyfactor API, which allows third-party software to integrate with the advanced certificate enrollment and management features of Keyfactor Command. endpoints can be called and results returned. It is intended to be used primarily for validation, testing and workflowClosed A workflow is a series of steps necessary to complete a process. In Keyfactor Command, it refers to the workflow builder, which allows you to automate event-driven tasks such as when a certificate is requested, revoked or found in a certificate store. development. It also serves secondarily as documentation for the API. The link to the Keyfactor API Reference and Utility is in the dropdown from the help icon () at the top of the Management Portal page next to the Log Out button.