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
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
404 | Not found | A specified resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
response | Array of objects | Information about each 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:
| ||
notAfter | String | Date and time that the certificate is no longer valid. The timestamp is returned in ISO 8601 format, for example:
| ||
notBefore | String | Date and time the certificate becomes valid. The timestamp is returned in ISO 8601 format, for example:
| ||
serialNumber | String | Serial number of the certificate. | ||
signatureAlgorithm | String | Algorithm used to signed the certificate, for example:
| ||
subjectDn | String | LDAP Distinguished Name of the subject, for example:
| ||
result | String | Request results . This can be one of the following values.
| ||
messages | Array | Information about one or more messages | ||
explanation | String | Additional information to clarify the reason for the message | ||
id | String | The message 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 |
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."
}]
}
Give documentation feedback