Exporting CSR Files
Export the certificate to the CA server and execute the service flow.
- Select nodes and click Configure Service.

- Select Custom and click Next.

- Select Command Execution and click Add a Task.

- Set task 1 parameters and click Save.
Table 1 Parameter description Parameter
Description
Task Name
Exporting the certificate
Task Description
Exporting the certificate to the CA server
Run Directory
/
Run Command
echo password | /home/omm/haf-install/haf-dir/tools/haf-tool cert --server ca_server_ip --path ca_server_path --user ca_server_user --export
NOTE:- haf-dir indicates the installation directory.
- If haf-dir is set to haf-host, it indicates the host node.
- If haf-dir is set to haf-target, it indicates the service installation on the offload node.
- If haf-dir is set to haf-offload, it indicates the library installation on the offload node.
- The script parameters are described as follows:
- password: Password of the CA server for issuing certificates.
- ca_server_ip: IP address of the CA server for issuing certificates.
- ca_server_path: Certificate issuing path of the CA server, for example, /home/ca_server/.
- ca_server_user: User name for logging in to the CA server for issuing certificates.
- "echo password |" is a temporary method used by SmartKit due to interactive bugs. If you use the CLI tool, you do not need to add it.
Whether to Check Return Code
Yes
Expected Return Code
0

- haf-dir indicates the installation directory.
Parent topic: Configure Certificates