ipmcset -t syslog -d rootcertificate
更新时间: 2026/07/16
在Gitcode上查看源码

ipmcset -t syslog -d rootcertificate

返回总览 | 返回命令索引

命令功能

导入系统日志根证书

命令格式

text
ipmcset -t syslog -d rootcertificate -v <filepath>

参数说明

NameLocationTypeRequiredDefaultConstraintDescription
pathReqBodystring-[{"Type": "Regex", "Formula": "^(/tmp/.{1,255})$"}]-

响应/输出说明

NameLocationTypeRequiredDefaultConstraintDescription
ValidateResultRspBody----

后端处理流

StepTypePath/URIInterfaceField/MethodSourceDestination
1Method/bmc/kepler/Managers/1/Security/Filebmc.kepler.Managers.Security.FileIsPermitted-{"Result": "Result"}
2Method/bmc/kepler/CertificateServicebmc.kepler.CertificateServiceImportCertificate-{"Extra": "Extra"}

使用示例

text
ipmcset -t syslog -d rootcertificate -v <filepath>

输出样例

ScenarioOutputSource
其他Warning: The certificate fails to meet certain security standards, such as the signature algorithm, key length, basic constraints, or key usage. Exercise caution when using it.interface_config/cli/echoes/ipmcset/syslog_rootcertificate
成功Set syslog root certificate successfully.interface_config/cli/echoes/ipmcset/syslog_rootcertificate

来源信息

ItemValue
命令类型ipmcset
targetsyslog
dataitemrootcertificate
URI/cli/v1/syslog/rootcertificate
Interface TypePatch
配置来源interface_config/cli/ipmcset/syslog.json
请求版本26.06_2026.06.30
源码提交5606349e
生成时间2026-07-16T01:48:37