Rate This Document
Findability
Accuracy
Completeness
Readability

When haf-tool Is Used to Generate Certificates, the Generation Fails Occasionally

Symptom

When haf-tool is used to generate a certificate, an error occurs occasionally. The error information is as follows:

1
Check whether environment variables are overwritten

Key Process and Cause Analysis

When OmniData is started, the host script has been executed in the current shell environment. As a result, the OpenSSL command version conflicts with the local OpenSSL command version.

Conclusion and Solution

Generally, this error occurs because the host script has been executed in the current shell environment when OmniData is started. As a result, the OpenSSL command version conflicts with the local OpenSSL command version. Before running the following certificate generation command, restart a shell.

1
/home/omm/omnidata-install/haf-host/tools/scripts/csr_gen_host.sh generate host csr failed