GET /trustedCertificates/details/<id>

Use the GET method to retrieve detailed information about a specific trusted certificate. The trusted certificate is in PEM format.

Authentication

Authentication with user name 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

Code Description
200 OK. The request completed successfully.
404 Not found. The certificate was not found. A descriptive error message will be returned in the body.
500 Internal server error. A descriptive error message will be returned in the body.

Response body

Attributes Type Description
response Object Information about the trusted certificate
  certificate String Certificate in PEM format
  id String Identifier used to identify this particular trusted certificate
  issuerDn String LDAP Distinguished Name of the issuer, for example:
"CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"
  notAfter String Date and time that the certificate is no longer valid. The timestamp is returned in ISO 8601 format, for example:
2014-02-05T15:54:13Z
  notBefore String Date and time the certificate becomes valid. The timestamp is returned in ISO 8601 format, for example:
2014-02-05T15:54:13Z
  serialNumber String Serial number of the certificate
  signatureAlgorithm String Algorithm used to signed the certificate, for example:
"MD5withRSA","SHA256withRSA"
  subjectDn String LDAP Distinguished Name of the subject, for example:
"CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"    
result String Results 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.
messages Array Information about one or more messages
  explanation String Additional information to clarify the reason for the message
  id String Identifier of a returned message
  recovery Array Recovery information
    text String User actions that can be taken to recover from the event
    URL String Link to the help system for more information, if available
  text String Message text associated with the message identifier

Response example

{
   "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": ""
      }
   }
}