GET – Certificate properties
Use the GET method to retrieve properties in Certificate resource for Redfish service.
Request URL
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/{id}
GET https://<BMC_IPADDR>/redfish/v1/Managers/1/SecurityPolicy/TLS/Client/TrustedCertificates/{Id}
GET https://<BMC_IPADDR>/redfish/v1/Systems/1/KeyManagement/KMIPCertificates/{Id}
GET https://<BMC_IPADDR>/redfish/v1/AccountService/LDAP/Certificates/{Id}
Request body
None
Response body
Field | Type | Description | ||
---|---|---|---|---|
Actions | Object | Available for /redfish/v1/Managers/1/NetworkProtocol/HTTPS/Certificates/{id} | ||
#Certificate.Rekey | Object | This action generates a new key-pair for a certificate and produces a certificate signing request. | ||
KeyCurveId@Redfish.AllowableValues | Array | TPM_ECC_NIST_P384 | ||
KeyPairAlgorithm@Redfish.AllowableValues | Array | “TPM_ALG_ECDH” or “TPM_ALG_RSA” | ||
#Certificate.Renew | Object | This action generates a certificate signing request by using the existing information and key-pair of the certificate. | ||
CertificateString | String | The string for the certificate. | ||
CertificateType | String | The format of the certificate. Only supports “PEM”. | ||
Description | String | This resource is used to represent the certificate for a Redfish implementation. | ||
Id | String | The index of this certificate resource. | ||
Issuer | Object | The issuer of the certificate. | ||
City | String | The city or locality of the organization of the entity. | ||
CommonName | String | The fully qualified domain name of the entity. | ||
Country | String | The country of the organization of the entity. | ||
String | The email address of the contact within the organization of the entity. | |||
Organization | String | The name of the organization of the entity. | ||
OrganizationalUnit | String | The name of the unit or division of the organization of the entity. | ||
State | String | The state, province, or region of the organization of the entity. | ||
KeyUsage | Array | The usage of the key contained in the certificate. | ||
KeyUsage[N] | String | “DigitalSignature” or “NonRepudiation” or “KeyEncipherment”. | ||
Name | String | The name of this certificate resource. | ||
Subject | Object | Expanded. | ||
City | String | The city or locality of the organization making the request. | ||
CommonName | String | The fully qualified domain name of the entity. | ||
Country | String | The country of the organization of the entity. | ||
String | The e-mail address of the contact within the organization of the entity. | |||
Organization | String | The name of the organization of the entity. | ||
OrganizationalUnit | String | The name of the unit or division of the organization of the entity. | ||
State | String | The state, province, or region of the organization of the entity. | ||
ValidNotAfter | String | The date when the certificate is no longer valid. | ||
ValidNotBefore | String | The date when the certificate becomes valid. |
Status code
HTTP Status Code | Error Message ID |
---|---|
500 | InternalError |