ipmcset -d crl
更新时间: 2026/07/16
在Gitcode上查看源码ipmcset -d crl
命令功能
导入 CRL 证书吊销列表文件
命令格式
text
ipmcset -d crl -v <localpath/URL> <type>参数说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
path | ReqBody | string | 是 | - | [{"Type": "Regex", "Formula": "^((https|sftp|nfs|cifs|scp)😕/.{1,1000}|/tmp/.{1,246})\.[cC][rR][lL]$"}] | - |
type | ReqBody | integer | 是 | - | [{"Type": "Enum", "Formula": [1]}] | - |
响应/输出说明
| Name | Location | Type | Required | Default | Constraint | Description |
|---|---|---|---|---|---|---|
IsImportActionPermitted | RspBody | - | 否 | - | - | - |
IsLocalFile | RspBody | - | 否 | - | - | - |
Result | RspBody | - | 否 | - | - | - |
后端处理流
| Step | Type | Path/URI | Interface | Field/Method | Source | Destination |
|---|---|---|---|---|---|---|
| 1 | Task | /bmc/kepler/UpdateService/SignatureCertificate | bmc.kepler.UpdateService.Certificate | ImportCRL | - | - |
| 2 | Method | /bmc/kepler/UpdateService/SignatureCertificate | bmc.kepler.UpdateService.Certificate | ImportCRL | - | {"TaskId": "TaskId"} |
使用示例
text
ipmcset -d crl -v <localpath/URL> <type>输出样例
| Scenario | Output | Source |
|---|---|---|
| 失败 | File path is invalid. | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Usage: ipmcset -d crl -v <localpath/URL> <type> | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Localpath e.g.: /tmp/cms.crl | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | URL : protocol://[username:password@]IP[:port]/directory/filename | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | The parameters in the URL are described as follows: | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | The protocol must be https,sftp,cifs,scp or nfs. | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | The URL can contain only letters, digits, and special characters. The directory or file name cannot contain @. | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Use double quotation marks (") to enclose the URL that contains a space or double quotation marks ("). | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Escape the double quotation marks (") and back slash (\) contained in the URL. | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | For example, if you want to enter: | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | a b\cd" | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Enter: | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | "a b\\cd\"" | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | Types are: | interface_config/cli/echoes/ipmcset/_crl |
| 其他 | 1 CRL file for upgrade package integrity checking. | interface_config/cli/echoes/ipmcset/_crl |
| 失败 | Import CRL file failed. | interface_config/cli/echoes/ipmcset/_crl |
| 成功 | Import CRL file successfully. | interface_config/cli/echoes/ipmcset/_crl |
| 失败 | Import CRL file failed. | interface_config/cli/echoes/ipmcset/_crl |
| 处理中 | Downloading... | interface_config/cli/echoes/ipmcset/_crl |
| 失败 | Import CRL file failed. | interface_config/cli/echoes/ipmcset/_crl |
| 成功 | Import CRL file successfully. | interface_config/cli/echoes/ipmcset/_crl |
来源信息
| Item | Value |
|---|---|
| 命令类型 | ipmcset |
| target | _ |
| dataitem | crl |
| URI | /cli/v1/_/crl |
| Interface Type | Patch |
| 配置来源 | interface_config/cli/ipmcset/crl.json |
| 请求版本 | 26.06_2026.06.30 |
| 源码提交 | 5606349e |
| 生成时间 | 2026-07-16T01:48:37 |