Get Certificate Information
更新时间: 2026/08/06
在Gitcode上查看源码

Get Certificate Information

Change History

openUBMC VersionRevision DateDescription
26.062026/06/26Initial draft: add command details

Basic Information

Function Description

Query the certificate information.

Privilege

ReadOnly

Command Information

Request Information

ByteData Field
NetFn30h
CMD93h
1:3Manufacturer 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.
4Sub command, sub command=96h
5Certificate type. For details, see Table 1 Certificate type.
6CertificateID: certificate ID
7CertificateProperty. For details, see Table 2 Certificate attribute fields.
8Read offset, offset of the read data, starting from 0.
9Length: read length

Response Information

ByteData Field
1Completion Code
2:4Manufacturer 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.
5End 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:NData. The returned data may be less than or equal to the length.

Table 1 Certificate types

CertificateTypeField MeaningRestrictions on CertificateID
00hCA certificate1-32
01hSSL certificate1-5
02hFirmware integrity verification certificate1-2
03hIntra-chassis communication identity certificate1-2

Table 2 Certificate attribute fields

CertificatePropertyMeaning
0hCommonName
1hSerialNumber
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 0x00

Response:

text
db 07 00 00 74 65 73 74

Back to Index