wazuh-ansible icon indicating copy to clipboard operation
wazuh-ansible copied to clipboard

wazuh-certs-tool.sh v4.6 is not available to download

Open gelin opened this issue 2 years ago • 4 comments

I'm trying to install Wazuh indexer with the provided Ansible role. It fails with this error:

TASK [wazuh-indexer : Local action | Download certificates generation tool] *****************
fatal: [indexer1]: FAILED! => {"changed": false, 
"dest": "/home/<skip>/ansible/indexer/certificates/wazuh-certs-tool.sh", 
"elapsed": 1, 
"msg": "Request failed", 
"response": "HTTP Error 404: Not Found", 
"status_code": 404, 
"url": "https://packages.wazuh.com/4.6/wazuh-certs-tool.sh"}

That's true, the https://packages.wazuh.com/4.6/wazuh-certs-tool.sh is not available to download. The page shows:

<Error>
<Code>NoSuchKey</Code>
<Message>The specified key does not exist.</Message>
<Key>4.6/wazuh-certs-tool.sh</Key>
<RequestId>2SHKY9ZZ0P3R7G43</RequestId>
<HostId>f0/kbuTy3NNOigQ0Clh/fAwfUOESXc1fxmFzvNtD2SVee0g3V6V348EFnvHI4s6vigR/srQAHIA=</HostId>
</Error>

gelin avatar Feb 10 '23 09:02 gelin

Oh... Probably, Wazuh 4.6 is not even released yet. The last script available is https://packages.wazuh.com/4.4/wazuh-certs-tool.sh, v4.4. The release notes page reports the last version of v4.3.10. However, the role has the default value: indexer_version: 4.6.0.

gelin avatar Feb 10 '23 13:02 gelin

Aha. The release v4.3.10 works well. The master doesn't work here. Ok.

gelin avatar Feb 10 '23 13:02 gelin

Hi @gelin. Exactly, the latest release is v4.3.10. You can use that tag (v4.3.10) to deploy Wazuh using Ansible. master branch includes the latest development version.

teddytpc1 avatar Mar 13 '23 13:03 teddytpc1

Use the stable version of the code. The master branch is development.

juresaht2 avatar Aug 17 '23 11:08 juresaht2