Get certificate details
get
/rest/{version}/configuration/certificates
Retrieves the imported certificate (CA signed and self signed) details. This request works only for a certificate-record, for which a certificate was already imported. The query string must include the recordName attribute and the format attribute. The value of recordName is the certificate-record to get and the format attribute is used for deciding the display format of the certificate. The order of these attributes in the query string does not matter.
Request
Path Parameters
-
version(required):
REST API version string.
Available values: v1.2
Query Parameters
-
format(required):
Format the certificate-record to be retrieved
-
recordName(required):
Name of the certificate
Header Parameters
-
Authorization(required):
The value in the Authorization header must be the string "
Bearer {access token}", where{access token}is a valid, unexpired token received in response to a prior/rest/{version}/auth/tokenrequest.
Response
200 Response
OK - Requested certificate data is returned in detail format or in PEM format in response body.
400 Response
The request is malformed in some way or is missing required information and therefore cannot be processed.
401 Response
Unauthorized - Request lacks valid authentication credentials.
404 Response
Unsupported version ID in URI or certificate specified with recordName key attribute is not found or requested format is not supported.