Rate This Document
Findability
Accuracy
Completeness
Readability

Destroying HAF Certificates

If you do not need to use the certificate, run the destroy command.

  • On a host node:

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

    After this command is executed, the certificate in the certificate path specified in the configuration file is destroyed.

  • On an offload node:

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

    After this command is executed, the certificates and private keys in the running directories of daemon and haf_user are deleted.

Use SmartKit to destroy the certificate on the server or client.

Parameter

Description

Task Name

Destroying a node certificate

Task Description

Destroying the certificate of the current node

Run Directory

/

Run Command

  • On an offload node:

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

  • On a host node:

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

Whether to Check Return Code

Yes

Expected Return Code

0