代码仓
中
CertificateLocations
更新时间: 2026/10/28
在AtomGit上查看源码

ResourceDefinition ​

uris ​

  • /redfish/v1/CertificateService/CertificateLocations

properties ​

名称类型是否只读取值范围/枚举值说明
@odata.contextstringtrue-CertificateLocations资源模型的OData描述信息
@odata.idstringtrue-CertificateLocations资源节点的访问路径
@odata.typestringtrue-CertificateLocations资源类型
Idstringtrue-CertificateLocations资源的ID
Namestringtrue-CertificateLocations资源的名称
Links {objecttrue-证书路径相关资源的访问路径
Links.HttpsCertificate {objecttrue-SSL证书资源路径
Links.HttpsCertificate.@odata.idstringtrue-SSL证书资源路径链接
}
Links.SyslogServiceCertificate {objecttrue-Syslog服务资源路径
Links.SyslogServiceCertificate.@odata.idstringtrue-Syslog服务资源路径链接
}
Links.SmtpServiceCertificate {objecttrue-SMTP服务资源路径
Links.SmtpServiceCertificate.@odata.idstringtrue-SMTP服务资源路径链接
}
Links.LdapControllersCertificate {objecttrue-LDAP域控制器资源路径
Links.LdapControllersCertificate.@odata.idstringtrue-LDAP域控制器资源路径链接
}
Links.AccountMutualAuthCertificate {objecttrue-账户双因素认证资源路径
Links.AccountMutualAuthCertificate.@odata.idstringtrue-账户双因素认证资源路径链接
}
Links.RemoteHttpsServerCertificates {objecttrue-远程HTTPS服务器资源路径
Links.RemoteHttpsServerCertificates.@odata.idstringtrue-远程HTTPS服务器资源路径链接
}
Links.CertificateUpdateService {objecttrue-证书更新资源路径
Links.CertificateUpdateService.@odata.idstringtrue-证书更新资源路径链接
}
Links.CACertificates {objecttrue-统一CA证书资源路径
Links.CACertificates.@odata.idstringtrue-统一CA证书资源路径链接
}
Links.BootCertificates {objecttrue-Bios证书资源路径
Links.BootCertificates.@odata.idstringtrue-Bios证书资源路径链接
}
Links.Certificates [ {arraytrue-证书路径相关资源的访问路径集合
Links.Certificates[].@odata.idstringtrue-成员资源节点的访问路径
} ]
}
DiceCertobjecttrue-DICE证书资源路径

supported_methods ​

  • GET

HTTP methods ​

GET ​

命令功能

查询证书路径信息

命令格式

URL: https://device_ip/redfish/v1/CertificateService/CertificateLocations

请求头:

text

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>

请求头:

text

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"
},
"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"
}
]
}
}

响应码:200