GET – Certificate locations properties
Use the GET method to retrieve properties in CertificateLocations resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/CertificateService/CertificateLocations
Request body
None
Response body
Field | Type | Description | ||
---|---|---|---|---|
Id | String | CertificateLocations | ||
Name | String | Certificate Locations | ||
Description | String | This resource is used to represent the collection of certificate locations for a Redfish implementation. | ||
Links | Object | Expanded. | ||
Certificates | Array | Items: link Item count: N | ||
Certificates[N] | Link | The value of this property is a URI reference to a resource of the certificate. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations",
"@odata.type": "#CertificateLocations.v1_0_0.CertificateLocations",
"Description": "Defines a resource that an administrator can use in order to locate all certificates installed on a given service",
"Id": "CertificateLocations",
"Links": {
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1"
}
],
"Certificates@odata.count": 1
},
"Name": "Certificate Locations",
"error": {
"@Message.ExtendedInfo": [
{
"@odata.type": "#Message.v1_1_1.Message",
"Message": "The request failed due to an internal service error. The service is still operational.",
"MessageArgs": [],
"MessageId": "Base.1.16.0.InternalError",
"MessageSeverity": "Critical",
"Resolution": "Resubmit the request. If the problem persists, consider resetting the service."
}
],
"code": "Base.1.16.0.InternalError",
"message": "The request failed due to an internal service error. The service is still operational."
}
}
Give documentation feedback