ipmcset -t syslog -d rootcertificate
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -t syslog -d rootcertificate
命令功能
导入系统日志根证书
命令格式
text
ipmcset -t syslog -d rootcertificate -v <filepath>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
path | ReqBody | string | 是 | - | [{"Type": "Regex", "Formula": "^(/tmp/.{1,255})$"}] | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
ValidateResult | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Method | /bmc/kepler/Managers/1/Security/File | bmc.kepler.Managers.Security.File | IsPermitted | - | {"Result": "Result"} |
| 2 | Method | /bmc/kepler/CertificateService | bmc.kepler.CertificateService | ImportCertificate | - | {"Extra": "Extra"} |
使用示例
text
ipmcset -t syslog -d rootcertificate -v <filepath>输出样例
| Scenario | Output | Source |
|---|---|---|
| 其他 | 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 |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | syslog |
| dataitem | rootcertificate |
| URI | /cli/v1/syslog/rootcertificate |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/syslog.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |