---
title: 证书导入
description: "导入证书，执行业务流。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengboostkithistory/2200SPC2/accel/kunpengaccel_haf_06_0029.html
sourcePath: /source/zh/kunpengboostkithistory/2200SPC2/accel/kunpengaccel_haf_06_0029.html
indexId: 87975615ecdcc45e8d23b317e36343341cdc7c45e51a2fcf1481dc3ca6d424dc78
---
# 证书导入

导入证书，执行业务流。


**表1 任务编辑参数内容**

| 参数 | 内容 |
| --- | --- |
| 任务名称 | 导入证书 |
| 任务描述 | 导入CA服务器证书 |
| 运行目录 | / |
| 执行命令 | echo password \| /home/omm/haf\-install/haf\-dir/tools/haf\-tool cert \-\-server ca\_server\_ip \-\-path ca\_server\_path \-\-user ca\_server\_user \-\-import 说明： haf\-dir表示安装之后的目录。 haf\-dir是haf\-host表示主机节点。 haf\-dir是haf\-target表示卸载节点服务安装。 haf\-dir是haf\-offload表示卸载节点库安装。 脚本参数分别表示： password表示CA根证书服务器密码。 ca\_server\_ip表示CA根证书服务器IP。 ca\_server\_path表示CA根证书服务器证书签发路径。 ca\_server\_user表示CA根证书服务器登录用户名。 "echo password \|"是由于当前SmartKit工具存在交互式bug所使用的临时方式，若用户直接使用命令行操作，则无需增加。 |
| 是否预判返回码 | 是 |
| 期望返回码 | 0 |


在SmartKit界面选择卸载节点，执行业务流，状态成功即可。
