Skip to main content

GET /trustedCertificates/{id}

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

Authentication

Authentication with username 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

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
resultStringResults 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.
messagesArray of objectsInformation about one or more messages
 idStringMessage identifier of a returned message
 textStringMessage text associated with the message identifier
 explanationStringAdditional information to clarify the reason for the message
 recoveryArray of objectsRecovery information
  textStringUser actions that can be taken to recover from the event
  URLStringLink to the help system for more information, if available
The following example is returned if the request is successful.
-----BEGIN CERTIFICATE-----
MIID7DCCAtSgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBmDFHMEUGA1UEAxM+Q0Eg
Zm9yIEZGQjY1NzQwLThCRUItNDE2MS05NTA3LTA0QUIwRUQzQTg0QSwgMTUtMDUt
MDYgMTQ6MjU6NTIxIjAgBgNVBAoTGUdlbmVyYXRlZCBieSBJQk0gRmlybXdhcmUx
CzAJBgNVBAYTAlVTMQswCQYDVQQIEwJUWDEPMA0GA1UEBxMGQXVzdGluMB4XDTUw
MDEwMTAwMDEwMFoXDTQ4MTIzMTIzNTk1OVowgZgxRzBFBgNVBAMTPkNBIGZvciBG
RkI2NTc0MC04QkVCLTQxNjEtOTUwNy0wNEFCMEVEM0E4NEEsIDE1LTA1LTA2IDE0
OjI1OjUyMSIwIAYDVQQKExlHZW5lcmF0ZWQgYnkgSUJNIEZpcm13YXJlMQswCQYD
VQQGEwJVUzELMAkGA1UECBMCVFgxDzANBgNVBAcTBkF1c3RpbjCCASIwDQYJKoZI
hvcNAQEBBQADgg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