---
title: 导入密钥证书配置文件
description: "当用户需要更新口令加密算法、更新证书过期告警提前日期时，可以使用该功能。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/devaids/aoe/aoerc_16_0082.html
sourcePath: /source/zh/canncommercial/900/devaids/aoe/aoerc_16_0082.html
indexId: 1e762570cf91531a67a18ce0bbcd75565859345834c1245f47c15ec0585f1b5e60
---
# 导入密钥证书配置文件

当用户需要更新口令加密算法、更新证书过期告警提前日期时，可以使用该功能。

#### 命令原型

akt [--conf %s]


#### 使用样例

akt --conf akt.ini

配置密钥配置文件可以配置口令加密算法，支持AES-128-GCM和AES-256-GCM；还可以配置证书过期告警日期，范围7-180。

akt.ini示例如下

```
[COMMON]
# Password encryption algorithm .e.g AES-128-GCM, AES-256-GCM
KEY_ENCRYPT_ALG=AES-128-GCM
# Periodic verification [7-180]
CERT_EXPIRE_REMIND=8
```
