CertificateLocations
更新时间: 2025/05/25
在Gitcode上查看源码

ResourceDefinition

uris

  • /redfish/v1/CertificateService/CertificateLocations

properties

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

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