Skip to main content

GET /trustedCertificates

Use this method to return information for all trusted certificates that are currently installed.

Authentication

Authentication with username and password is required.

Request URL

GET https://{management_server_IP}/trustedCertificates

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
responseArray of objectsInformation about each 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"
resultStringRequest results . 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
 idStringThe message identifier 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": [{
"id": "mgmt_server",
"issuerDn": "CN=LXCA,OU=,O=Generated by Server Firmware,L=Raleigh,ST=North Carolina,C=US",
"notAfter": "2070-01-01T04:59:59Z",
"notBefore": "1970-01-01T05:00:00Z",
"serialNumber": "1155c78e5ad9f91dd90bb2cbc7b0620a0cebde73",
"signatureAlgorithm": "SHA256withRSA",
"subjectDn": "CN=LXCA,OU=,O=Generated by Server Firmware,L=Raleigh,ST=North Carolina,C=US"
},
...,
{
"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": [{
"explanation": "",
"id": "FQXHMSE0001I",
"recovery": {
"text": "Information only; no action is required.",
"URL": ""
},
"text": "The request completed successfully."
}]
}