GET /serverCertificate/details
Use this method to returnd detailed information about the server certificate. The certificate is returned in PEM format.
Authentication
Authentication with username and password is required.
Request URL
GET https://{management_server_IP}/serverCertificate/details
Query parameters
None
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
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 | Information about each certificate | ||
certificate | String | Certificate, in PEM format | ||
issuerDn | String | LDAP Distinguished Name of the issuer (for example, "CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"). | ||
notAfter | String | Timestamp when the certificate is no longer valid. The timestamp is returned in ISO 8601 format (for example, 2014-02-05T15:54:13Z). | ||
notBefore | String | Timestamp when 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 sign the certificate (for example, "MD5withRSA","SHA256withRSA"). | ||
status | String | Certificate status. This can be one of the following values.
| ||
subjectDn | String | LDAP Distinguished Name of the subject (for example, "CN=demo server,OU=CS,O=Com Ltd.,ST=QLD,C=AU"). | ||
{message_attributes} | varies | Status messages (see Status messages). |
The following example is returned if the request is successful.
{
"response": [{
"certificate": "-----BEGIN CERTIFICATE-----\r\n
MIIF2jCCBMKgAwIBAgIVAJgbWgQ/HUsaEEkFEdueK2lEONxqMA0GCSqGSIb3DQEB\r\n
CwUAMHkxCzAJBgNVBAYTAlVTMRcwFQYDVQQIEw5Ob3J0aCBDYXJvbGluYTEQMA4G\r\n
A1UEBxMHUmFsZWlnaDElMCMGA1UEChMcR2VuZXJhdGVkIGJ5IFNlcnZlciBGaXJt\r\n
d2FyZTEJMAcGA1UECxMAMQ0wCwYDVQQDEwRMWENBMCAXDTcwMDEwMTA2MDA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DowOjA6MDowOjGHEP6AAAAAAAAAAOAAAAAAAACCFmZlODA6MDow\r\n
OjA6ZTA6MDowOjAlMTCHEP6AAAAAAAAAKePrsll+T/+CIWZlODA6MDowOjA6Mjll\r\n
MzplYmIyOjU5N2U6NGZmZiUxMocECipk3oIaRFJBS05FUlVELThMRjBOLmxlbm92\r\n
by5jb22HEP6AAAAAAAAA4VspLzm0URiCGkRSQUtORVJVRC04TEYwTi5sZW5vdm8u\r\n
Y29thxD+gAAAAAAAAFXfh605j+bqgiFmZTgwOjA6MDowOjU1ZGY6ODdhZDozOThm\r\n
OmU2ZWElMTaHEP6AAAAAAAAAAABe/goqZN6CHWZlODA6MDowOjA6MDo1ZWZlOmEy\r\n
YTo2NGRlJTE3gglsb2NhbGhvc3SCBExYQ0EwDQYJKoZIhvcNAQELBQADggEBAJRj\r\n
k88tQx4Iit0Q7HpmyjOE9W4ilvVTGZ9Zk56gN2lPWY/m2TL1RLbiid/cWpy6RnNd\r\n
PGbO1whRmwTpq5Ihec6wdONLXZFlS5GaOqMu+opzXnwvuGBn1y/jQjnpIV+TcKQL\r\n
9LAvzmPoMYd8BqF/sfR1rdmgyGeTzG/yUEaChXG0TLkbkT+9gYFN/gPDy4hAv2i9\r\n
zLQnCXsqH5ZIDRAf42P8uHZ6hBkgra/vXdh+rB9mgIJZV2ijgjoYl6bIGw+9zL3L\r\n
t2Jfh2u4MCpQs47FVZ2Fds3YaprHf5SVamUspTI0dsNzFU1F/xa2NRaWzu3T5+mj\r\n
JOHNoKWv4KcJXzyXuLo=\r\n
-----END CERTIFICATE-----\r\n",
"is suerDn": "CN=LXCA,OU=,O=Generated by Server Firmware,L=Raleigh,ST=North Carolina,C=US",
"notAfter": "2070-01-01T05:59:59Z",
"notBefore": "1970-01-01T06:00:00Z",
"serialNumber": "981b5a043f1d4b1a10490511db9e2b694438dc6a",
"signatureAlgorithm": "SHA256withRSA",
"status": "internal",
"subjectDn": "CN=LXCA,OU=,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": ""
},
}]
}
Give documentation feedback