我要评分
获取效率
正确性
完整性
易理解

Generating CSR Files

  • On a host node:

    /opt/haf-host/tools/haf-tool cert --generate --host

    The CSR file generated on a host node is stored in the path specified by cert_path in the haf_user.conf file.

  • On an offload node:

    su -s /bin/bash - haf -c "haf-tool cert --generate --offload"

    The CSR file generated on an offload node is stored in the /opt/haf-target/run/daemon and /opt/haf-target/run/haf_user directories in the installation directory on the offload node.

The name of the CSR files generated in the preceding steps is service.csr, and the private key is service.key (encrypted).

Table 1 Parameter description

Option

Description

Mandatory

--generate

Keywords for generating a CSR file

Yes

--offload/--host

Corresponding to the offload node and host node respectively

Yes