CertificateLocations
更新时间: 2025/05/25
在Gitcode上查看源码ResourceDefinition
uris
/redfish/v1/CertificateService/CertificateLocations
properties
| 名称 | 类型 | 是否只读 | 取值范围/枚举值 | 说明 |
|---|---|---|---|---|
| @odata.context | string | true | - | CertificateLocations资源模型的OData描述信息 |
| @odata.id | string | true | - | CertificateLocations资源节点的访问路径 |
| @odata.type | string | true | - | CertificateLocations资源类型 |
| Id | string | true | - | CertificateLocations资源的ID |
| Name | string | true | - | CertificateLocations资源的名称 |
| Links | object | true | - | 证书路径相关资源的访问路径 |
| Links.HttpsCertificate | object | true | - | SSL证书资源路径 |
| Links.HttpsCertificate.@odata.id | string | true | - | SSL证书资源路径链接 |
| Links.SyslogServiceCertificate | object | true | - | Syslog服务资源路径 |
| Links.SyslogServiceCertificate.@odata.id | string | true | - | Syslog服务资源路径链接 |
| Links.SmtpServiceCertificate | object | true | - | SMTP服务资源路径 |
| Links.SmtpServiceCertificate.@odata.id | string | true | - | SMTP服务资源路径链接 |
| Links.LdapControllersCertificate | object | true | - | LDAP域控制器资源路径 |
| Links.LdapControllersCertificate.@odata.id | string | true | - | LDAP域控制器资源路径链接 |
| Links.AccountMutualAuthCertificate | object | true | - | 账户双因素认证资源路径 |
| Links.AccountMutualAuthCertificate.@odata.id | string | true | - | 账户双因素认证资源路径链接 |
| Links.RemoteHttpsServerCertificates | object | true | - | 远程HTTPS服务器资源路径 |
| Links.RemoteHttpsServerCertificates.@odata.id | string | true | - | 远程HTTPS服务器资源路径链接 |
| Links.CertificateUpdateService | object | true | - | 证书更新资源路径 |
| Links.CertificateUpdateService.@odata.id | string | true | - | 证书更新资源路径链接 |
| Links.CACertificates | object | true | - | 统一CA证书资源路径 |
| Links.CACertificates.@odata.id | string | true | - | 统一CA证书资源路径链接 |
| Links.BootCertificates | object | true | - | Bios证书资源路径 |
| Links.BootCertificates[].@odata.id | string | true | - | Bios证书资源路径链接 |
| Links.DiceCert | object | true | - | DICE证书资源路径 |
| Links.DiceCert.@odata.id | string | true | - | DICE证书资源路径链接 |
| Links.Certificates | array | true | - | 证书路径相关资源的访问路径集合 |
supported_methods
- GET
HTTP methods
GET
命令功能
查询证书路径信息
命令格式
URL: https://device_ip/redfish/v1/CertificateService/CertificateLocations
请求头:
X-Auth-Token: 123456789***********************请求消息体: 无
参数说明
| 参数 | 参数说明 | 取值 |
|---|---|---|
| device_ip | 登录设备的IP地址 | IPv4或IPv6地址 |
| auth_value | 执行该GET请求时,必须在"Headers"中携带"X-Auth-Token"值用于鉴权 | 可通过/redfish/v1/SessionService/Sessions创建会话时获得 |
使用指南
无
使用实例
请求样例:
http
GET https://device_ip/redfish/v1/CertificateService/CertificateLocations请求头:
X-Auth-Token: 123456789***********************请求消息体:无
响应样例:
json
{
"@odata.context": "/redfish/v1/$metadata#CertificateService.CertificateLocations",
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations",
"@odata.type": "#CertificateLocations.v1_0_0.CertificateLocations",
"Id": "CertificateLocations",
"Name": "Certificate Locations",
"Links": {
"HttpsCertificate": {
"@odata.id": "/redfish/v1/Managers/1/SecurityService/HttpsCert"
},
"SyslogServiceCertificate": {
"@odata.id": "/redfish/v1/Managers/1/SyslogService"
},
"SmtpServiceCertificate": {
"@odata.id": "/redfish/v1/Managers/1/SmtpService"
},
"LdapControllersCertificate": {
"@odata.id": "/redfish/v1/AccountService/LdapService/LdapControllers"
},
"AccountMutualAuthCertificate": {
"@odata.id": "/redfish/v1/AccountService/Accounts"
},
"RemoteHttpsServerCertificates": {
"@odata.id": "/redfish/v1/Managers/1/SecurityService"
},
"CertificateUpdateService": {
"@odata.id": "/redfish/v1/Managers/1/SecurityService/CertUpdateService"
},
"CACertificates": {
"@odata.id": "/redfish/v1/Managers/1/Certificates"
},
"BootCertificates": {
"@odata.id": "/redfish/v1/Systems/1/Bios/Oem/Public/BootCertificates"
},
"DiceCert": {
"@odata.id": "/redfish/v1/Managers/1/SecurityService/DiceCert"
},
"Certificates": [
{
"@odata.id": "/redfish/v1/Managers/1/SecurityService/HttpsCert"
},
{
"@odata.id": "/redfish/v1/Managers/1/SyslogService"
},
{
"@odata.id": "/redfish/v1/Managers/1/SmtpService"
},
{
"@odata.id": "/redfish/v1/AccountService/LdapService/LdapControllers"
},
{
"@odata.id": "/redfish/v1/AccountService/Accounts"
},
{
"@odata.id": "/redfish/v1/Managers/1/SecurityService"
},
{
"@odata.id": "/redfish/v1/Managers/1/SecurityService/CertUpdateService"
},
{
"@odata.id": "/redfish/v1/Managers/1/Certificates"
},
{
"@odata.id": "/redfish/v1/Systems/1/Bios/Oem/Public/BootCertificates"
},
{
"@odata.id": "/redfish/v1/Managers/1/SecurityService/DiceCert"
}
]
}
}响应码:200