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

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