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. | ||
KeyCurveId@Redfish.AllowableValues | Array | [“TPM_ECC_NIST_P256”, “TPM_ECC_NIST_P384”] | ||
KeyPairAlgorithm@Redfish.AllowableValues | Array | [“TPM_ALG_ECDH”, “TPM_ALG_RSA”] | ||
KeyBitLength@Redfish.AllowableValues | Number | [2048, 3072, 4096] |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |
Example
The following example JSON response is returned:
{
"@odata.context": "/redfish/v1/$metadata#CertificateService.CertificateService",
"@odata.etag": "\"C46ABFF4\"",
"@odata.id": "/redfish/v1/CertificateService",
"@odata.type": "#CertificateService.v1_0_4.CertificateService",
"Actions": {
"#CertificateService.GenerateCSR": {
"KeyUsage@Redfish.AllowableValues": [
"DigitalSignature",
"NonRepudiation",
"KeyEncipherment"
],
"keyBitLength@Redfish.AllowableValues": [
2048,
3072,
4096
],
"keyCurveId@Redfish.AllowableValues": [
"TPM_ECC_NIST_P256",
"TPM_ECC_NIST_P384"
],
"keyPairAlgorithm@Redfish.AllowableValues": [
"TPM_ALG_ECDH",
"TPM_ALG_RSA"
],
"target": "/redfish/v1/CertificateService/Actions/CertificateService.GenerateCSR",
"title": "GenerateCSR"
},
"#CertificateService.ReplaceCertificate": {
"CertificateType@Redfish.AllowableValues": [
"PEM"
],
"target": "/redfish/v1/CertificateService/Actions/CertificateService.ReplaceCertificate",
"title": "ReplaceCertificate"
}
},
"CertificateLocations": {
"@odata.id": "/redfish/v1/CertificateService/CertificateLocations"
},
"Description": "This resource is used to represent a certificate service for a Redfish implementation.",
"Id": "CertificateService",
"Name": "Certificate Service"
}
Give documentation feedback