Querying and Uploading the Server Root Certificate (syslog -d rootcertificate)
Function
The syslog -d rootcertificate command is used to upload the syslog server root certificate to iBMC or query the current root certificate information.
Format
ipmcget -t syslog -d rootcertificate
ipmcset -t syslog -d rootcertificate -v <filepath>
Parameters
Parameter |
Description |
Value |
---|---|---|
filepath |
Specifies the absolute path of the syslog server root certificate on the iBMC. |
For example, /tmp/rootcertificate.cer |
Usage Guidelines
Before running this command, use a file transfer tool that supports SFTP, for example WinSCP, to transfer the custom root certificate to the specified directory (for example /tmp) of the iBMC file system.
For security purposes, periodically update the certificate.
Example
# Upload the server root certificate.
iBMC:/-> ipmcset -t syslog -d rootcertificate -v /tmp/rootcertificate.cer
Set syslog root certificate successfully.
# Query the server root certificate information.
iBMC:/-> ipmcget -t syslog -d rootcertificate
Server Root Certificate:
Issued To: CN=SERVER, OU=IT, O=TS, L=, S=GD, C=CH
Issued By: CN=Info, OU=IT, O=Mytest, L=ShenZhen, S=GuangDong, C=CN
Valid From: Mar 24 2016 UTC
Valid To: Mar 24 2017 UTC
Serial Number: 0b