跳到主要内容

GET – 证书位置属性

使用 GET 方法检索 Redfish 服务的 CertificateLocations 资源中的属性。

请求 URL

GET https://<BMC_IPADDR>/redfish/v1/CertificateService/CertificateLocations

请求正文

响应正文

字段类型描述

Id

字符串“CertificateLocations”

Name

字符串“Certificate Locations”

Description

字符串此资源用于表示某个 Redfish 实现的证书位置集合。

CertificateLocations

链接证书位置信息。

Links

对象已展开。

Certificates

数组此服务上安装的证书的链接数组。

状态代码

HTTP 状态代码错误消息 ID
500InternalError

示例

返回以下示例 JSON 响应:

{
"Id": "CertificateLocations",
"@odata.type": "#CertificateLocations.v1_0_2.CertificateLocations",
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations",
"@odata.etag": "\"362ae2eb99a12a2722d\"",
"Links": {
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/1"
}
]
},
"Name": "Certificate Locations",
"Description": "This resource is used to represent the collection of certificate locations for a Redfish implementation."
}