用于比较上传服务器的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
两种情形结果显示如下:
1 | CRL compare result: input CRL is same with or older than local, No need to update! |
1 | update crl file success! |