Get Certificate Information
更新时间: 2026/08/06
在Gitcode上查看源码Get Certificate Information
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 26.06 | 2026/06/26 | Initial draft: add command details |
Basic Information
Function Description
Query the certificate information.
Privilege
ReadOnly
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | 30h |
| CMD | 93h |
| 1:3 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 4 | Sub command, sub command=96h |
| 5 | Certificate type. For details, see Table 1 Certificate type. |
| 6 | CertificateID: certificate ID |
| 7 | CertificateProperty. For details, see Table 2 Certificate attribute fields. |
| 8 | Read offset, offset of the read data, starting from 0. |
| 9 | Length: read length |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:4 | Manufacturer ID, LS Byte first. The length is fixed to three bytes. For example, if the vendor ID is 2011 and the corresponding hexadecimal value is 0x0007DB, the first byte is DBh, the second byte is 07h, and the third byte is 00h. |
| 5 | End of List indicates whether the current data is complete. Long data may need to be read multiple times. This field is used to check whether data is completely read. [7:1]: reserved [0]: End of list 0=last data 1=middle data |
| 6:N | Data. The returned data may be less than or equal to the length. |
Table 1 Certificate types
| CertificateType | Field Meaning | Restrictions on CertificateID |
|---|---|---|
| 00h | CA certificate | 1-32 |
| 01h | SSL certificate | 1-5 |
| 02h | Firmware integrity verification certificate | 1-2 |
| 03h | Intra-chassis communication identity certificate | 1-2 |
Table 2 Certificate attribute fields
| CertificateProperty | Meaning |
|---|---|
| 0h | CommonName |
| 1h | SerialNumber |
| 2h 3h | Issuer Subject |
Command Example
Query the common name of the CA certificate.
Request:
bash
ipmitool raw 0x30 0x93 0xdb 0x07 0x00 0x97 0x00 0x01 0x00 0x00 0x00Response:
text
db 07 00 00 74 65 73 74