GET /trustedCertificates/<id>

Use the GET method to download the PEM file for a specific trusted certificate.

Authentication

Authentication with user name and password is required.

Request URL

GET https://<management_server_IP>/trustedCertificates/<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
result String Results of the request. This can be one of the following values.
  • success. The request completed successfully.
  • failed. The request failed. A descriptive error message was returned.
  • warning. The request completed with a warning. A descriptive error message was returned.
messages Array of objects Information about one or more messages
  id String Message identifier of a returned message
  text String Message text associated with the message identifier
  explanation String Additional information to clarify the reason for the message
  recovery Array of objects 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

Response example

-----BEGIN CERTIFICATE-----
MIID7DCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBmDFHMEUGA1UEAxM+Q0Eg
Zm9yIEZGQjY1NzQwLThCRUItNDE2MS05NTA3LTA0QUIwRUQzQTg0QSwgMTUtMDUt
MDYgMTQ6MjU6NTIxIjAgBgNVBAoTGUdlbmVyYXRlZCBieSBJQk0gRmlybXdhcmUx
CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJUWDEPMA0GA1UEBxMGQXVzdGluMB4XDTUw
MDEwMTAwMDEwMFoXDTQ4MTIzMTIzNTk1OVowgZgxRzBFBgNVBAMTPkNBIGZvciBG
RkI2NTc0MC04QkVCLTQxNjEtOTUwNy0wNEFCMEVEM0E4NEEsIDE1LTA1LTA2IDE0
OjI1OjUyMSIwIAYDVQQKExlHZW5lcmF0ZWQgYnkgSUJNIEZpcm13YXJlMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCVFgxDzANBgNVBAcTBkF1c3RpbjCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBALtxWUCKlsukZHytbArcc9fttQNsMxro0LUi
hrNYJo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