Certificates

Gets information about the specified certificate.

get/certificates(thumbprintAlgorithm={thumbprintAlgorithm},thumbprint={thumbprint})

Path parameters

thumbprintAlgorithmstring required

The algorithm used to derive the thumbprint parameter. This must be sha1.

thumbprintstring required

The thumbprint of the certificate to get.

Query parameters

$selectstring

An OData $select clause.

timeoutinteger

The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds.

api-versionstring required

Client API Version.

Headers

client-request-idstring

The caller-generated request identity, in the form of a GUID with no decoration such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.

return-client-request-idboolean

Whether the server should return the client-request-id identifier in the response.

ocp-datestring date-time-rfc1123

The time the request was issued. If not specified, this header will be automatically populated with the current system clock time.

Response

OK

thumbprintstring

The X.509 thumbprint of the certificate. This is a sequence of up to 40 hex digits (it may include spaces but these are removed).

thumbprintAlgorithmstring

The algorithm used to derive the thumbprint. This must be sha1.

urlstring

The URL of the certificate.

state'active' | 'deleting' | 'deletefailed'

The current state of the certificate.

stateTransitionTimestring date-time

The time at which the certificate entered its current state.

previousState'active' | 'deleting' | 'deletefailed'

The previous state of the certificate. This property is not set if the certificate is in its initial Active state.

previousStateTransitionTimestring date-time

The time at which the certificate entered its previous state. This property is not set if the certificate is in its initial Active state.

publicDatastring

The public part of the certificate as a base-64 encoded .cer file.

Changes