用于比较上传服务器的CRL文件和服务器本地存储的CRL文件版本新旧。如果上传的CRL文件有更新,会更新本地存储的CRL文件。
ascend-cert --update <to_update_crl>
ascend-cert -u <to_update_crl>
类型 |
描述 |
---|---|
update |
功能场景为更新。 |
to_update_crl |
上传服务器的crl路径。 |
root用户本地存储的CRL文件更新后路径为 /etc/hwsipcrl/ 。
ascend-cert --update A300-3000-3010-npu_21.0.3.b030_linux-aarch64.zip.crl
两种情形结果显示如下:
CRL compare result: input CRL is same with or older than local, No need to update!
update crl file success!