Skip to main content

GET /trustedCertificates/details/{id}

Use this method to return detailed information about a specific trusted certificate. The trusted certificate is in PEM format.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/trustedCertificates/details/{id}

where {id} is the trusted certificate ID. To obtain trusted certificate ID, use GET /trustedCertificates or GET /trustedCertificates/details.

Query parameters

None

Response codes

CodeDescriptionComments
200OKThe request completed successfully.
404Not foundA specified resource cannot be found. A descriptive error message is returned in the response body.
500Internal Server ErrorAn internal error occurred. A descriptive error message is returned in the response body.

Response body

AttributesTypeDescription
responseObjectInformation about the trusted certificate
 certificateStringCertificate in PEM format
 idStringIdentifier used to identify this particular trusted certificate
 issuerDnStringLDAP Distinguished Name of the issuer, for example:
"CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"
 notAfterStringDate and time that the certificate is no longer valid. The timestamp is returned in ISO 8601 format, for example:
2014-02-05T15:54:13Z
 notBeforeStringDate and time the certificate becomes valid. The timestamp is returned in ISO 8601 format, for example:
2014-02-05T15:54:13Z
 serialNumberStringSerial number of the certificate
 signatureAlgorithmStringAlgorithm used to signed the certificate, for example:
"MD5withRSA","SHA256withRSA"
 subjectDnStringLDAP Distinguished Name of the subject, for example:
"CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"    
resultStringResults of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failure. The request failed. A descriptive error message was returned.
messagesArrayInformation about one or more messages
 explanationStringAdditional information to clarify the reason for the message
 idStringIdentifier of a returned message
 recoveryArrayRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
 textStringMessage text associated with the message identifier
The following example is returned if the request is successful.
{
"response": {
"certificate": "-----BEGIN CERTIFICATE-----\n
MIICMTCCAbcCCQC+VaYDFnvxXzAKBggqhkjOPQQDAjCBgTELMAkGA1UEBhMCVVMx\n
FzAVBgNVBAgTDk5vcnRoIENhcm9saW5hMRAwDgYDVQQHEwdSYWxlaWdoMSUwIwYD\n
VQQKExxHZW5lcmF0ZWQgYnkgU2VydmVyIEZpcm13YXJlMRQwEgYDVQQDEwtiZXRh\n
ZHJhY28wMjEKMAgGA1UECxMBLTAeFw0xNTAxMDkyMTEwMDNaFw0yNTAxMDYyMTEw\n
MDNaMIGBMQswCQYDVQQGEwJVUzEXMBUGA1UECBMOTm9ydGggQ2Fyb2xpbmExEDAO\n
BgNVBAcTB1JhbGVpZ2gxJTAjBgNVBAoTHEdlbmVyYXRlZCBieSBTZXJ2ZXIgRmly\n
bXdhcmUxFDASBgNVBAMTC2JldGFkcmFjbzAyMQowCAYDVQQLEwEtMHYwEAYHKoZI\n
zj0CAQYFK4EEACIDYgAEcdUVUwFlYQFBcUw/YfYzlk5acgSFJsH7ugrb2YTrlb2m\n
PgBPxPLqJwZE8cQHS30qbIbh4SFrLaaVejgQ4LLdBMUj2vpXA/2Vs0HGwN/uP4cJ\n
XuppRtlij2hTpopCxmf1MAoGCCqGSM49BAMCA2gAMGUCMQDHD2BnCG0TfiqGoP+g\n
13RTuyvngr+OjuY5KeZwaOH0Gy77YId//w8WLfobp18OpdICMEOqryDz1DSBwnn/\n
aCZChFTCz4WF8p+5MQ4WqaDq/5pVQhjbDI3Ra/yQgrvdgH6C3A==\n
-----END CERTIFICATE-----\n",
"id": "c29379aa380e11e39df3000af7256714.2",
"issuerDn": "OU=-,CN=betadraco02,O=Generated by Server Firmware,L=Raleigh,ST=North Carolina,C=US",
"notAfter": "2025-01-06T21:10:03Z",
"notBefore": "2015-01-09T21:10:03Z",
"serialNumber": "be55a603167bf15f",
"signatureAlgorithm": "SHA256withECDSA",
"subjectDn": "OU=-,CN=betadraco02,O=Generated by Server Firmware,L=Raleigh,ST=North Carolina,C=US",
},
"result": "success",
"messages": [{
"id": "FQXHMSE0001I",
"text": "The request completed successfully.",
"explanation": "",
"recovery": {
"text": "Information only; no action is required.",
"URL": ""
}
}
}