Skip to main content

GET – Certificate service properties

Use the GET method to retrieve properties in CertificateService resource for Redfish service.

Request URL

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

Request body

None

Response body

Field

Type

Description

Id

String

“CertificateService”

Name

String

"Certificate Service"

Description

String

This resource is used to represent a certificate service for a Redfish implementation.

CertificateLocations

Link

The information about the location of certificates.

Actions

Object

Expanded.

 

#CertificateService.GenerateCSR

Object

This action makes a certificate signing request.

  

KeyUsage@Redfish.AllowableValues

Array

[“DigitalSignature”, “NonRepudiation”, “KeyEncipherment”]

  

KeyCurveId@Redfish.AllowableValues

Array

[“TPM_ECC_NIST_P384”]

  

KeyPairAlgorithm@Redfish.AllowableValues

Array

[“TPM_ALG_ECDH”]

 

#CertificateService.ReplaceCertificate

Array

This action replaces a certificate.

  

CertificateType@Redfish.AllowableValues

Array

[“PEM”]

Status code

HTTP Status CodeError Message ID
500InternalError

Example

The following example JSON response is returned:

{
"Actions": {
"#CertificateService.GenerateCSR": {
"KeyUsage@Redfish.AllowableValues": [
"DigitalSignature",
"NonRepudiation",
"KeyEncipherment"
],
"target": "/redfish/v1/CertificateService/Actions/CertificateService.GenerateCSR",
"title": "Generate a CSR file.",
"KeyCurveId@Redfish.AllowableValues": [
"TPM_ECC_NIST_P384"
],
"KeyPairAlgorithm@Redfish.AllowableValues": [
"TPM_ALG_ECDH"
]
},
"#CertificateService.ReplaceCertificate": {
"target": "/redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate",
"title": "Replace an existing certificate.",
"CertificateType@Redfish.AllowableValues": [
"PEM"
]
}
},
"@odata.id": "/redfish/v1/CertificateService",
"@odata.type": "#CertificateService.v1_0_2.CertificateService",
"Id": "CertificateService",
"CertificateLocations": {
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations"
},
"@odata.etag": "\"74957388648d2a308f8\"",
"Name": "Certificate Service",
"Description": "This resource is used to represent a certificate service for a Redfish implementation."
}