---
title: CRL更新
description: "用于比较上传服务器的CRL文件和服务器本地存储的CRL文件版本新旧。如果上传的CRL文件有更新，会更新本地存储的CRL文件。"
url: https://www.hiascend.com/document/detail/zh/mindcluster/latest/toolbox/toolboxug/toolboxug_0040.html
sourcePath: /source/zh/mindcluster/2610/toolbox/toolboxug/toolboxug_0040.html
indexId: bf976ad89b95eb2e99ad5b092a9546101574298d78e49f0e9cbfdab676db8ac765
---
# 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!
```
