CRL更新
命令功能
用于比较上传服务器的CRL文件和服务器本地存储的CRL文件版本新旧。如果上传的CRL文件有更新,会更新本地存储的CRL文件。
命令格式
ascend-cert --update <to_update_crl>
ascend-cert -u <to_update_crl>
参数说明
类型 |
描述 |
---|---|
update |
功能场景为更新。 |
to_update_crl |
上传服务器的crl路径。 |

本地存储的CRL文件更新后路径如下:
root用户: /etc/hwsipcrl/ 。
非root用户:~/.local/hwsipcrl/。
使用示例
ascend-cert --update {update_crlfile}.crl
两种情形结果显示如下:
- 提示无需更新。
CRL compare result: input CRL is same with or older than local, No need to update!
- 提示已更新。
update crl file success!
父主题: 功能使用