using generate-indexer-certs.yml

185 views
Skip to first unread message

Veera

unread,
Apr 29, 2025, 2:23:50 AM4/29/25
to Wazuh | Mailing List
Hi ,

When I run the below command ,(on the right directory) 
#docker-compose -f generate-indexer-certs.yml run --rm generator
i receive the below error

]#  docker-compose -f generate-indexer-certs.yml run --rm generator 
The tool to create the certificates exists in the in Packages bucket
29/04/2025 05:19:43 INFO: Generating the root certificate.
29/04/2025 05:19:43 INFO: Generating Admin certificates.
29/04/2025 05:19:43 INFO: Admin certificates created.
29/04/2025 05:19:43 INFO: Generating Wazuh indexer certificates.
29/04/2025 05:19:43 INFO: Wazuh indexer certificates created.
29/04/2025 05:19:43 INFO: Generating Filebeat certificates.
29/04/2025 05:19:45 INFO: Wazuh Filebeat certificates created.
29/04/2025 05:19:45 INFO: Generating Wazuh dashboard certificates.
29/04/2025 05:19:45 INFO: Wazuh dashboard certificates created.
Moving created certificates to the destination directory
Changing certificate permissions
Setting UID indexer and dashboard
Setting UID for wazuh manager and worker
chown: cannot access '/certificates/nodes__server__10=wazuh9.worker.pem': No such file or directory
chown: cannot access '/certificates/nodes__server__10=wazuh9.worker-key.pem': No such file or directory
chown: cannot access '/certificates/nodes__server__11=wazuh10.worker.pem': No such file or directory
chown: cannot access '/certificates/nodes__server__11=wazuh10.worker-key.pem': No such file or directory

I have the cert/key files exists as the expeced path and the path are very much correct.

This error occurs when i try to  run the command to generate 9th and 10th workers.(or above).
 Is there  a limitation with the image used in "image: wazuh/wazuh-certs-generator:0.0.2" (from docker repos)

Though I can see 5.0.0 available  https://github.com/wazuh/wazuh-docker/blob/main/multi-node/generate-certs.yml , any version including "latest"  fails with the below error. 

]#  docker-compose -f generate-indexer-certs.yml run --rm generator
[+] Running 0/1
 ⠿ generator Error                                                                                                                                  2.2s
Error response from daemon: manifest for wazuh/wazuh-cert-tool:5.0.0 not found: manifest unknown: manifest unknown
[root@pro certs]# vi generate-indexer-certs.yml
[root@pro certs]#  docker-compose -f generate-indexer-certs.yml run --rm generator
[+] Running 0/1
 ⠿ generator Error                                                                                                                                  3.0s
Error response from daemon: manifest for wazuh/wazuh-cert-tool:latest not found: manifest unknown: manifest unknown
[root@pro certs]#



hasitha.u...@wazuh.com

unread,
Apr 29, 2025, 3:19:36 AM4/29/25
to Wazuh | Mailing List
Hi Veera,

I suggest that you follow the official guide. Because the latest version is 4.11.2.
5.0 is still in progress.

Before installing Wazuh on Docker, you need to follow the requirements guide.
https://documentation.wazuh.com/current/deployment-options/docker/docker-installation.html#requirements

Kindly follow the official guide to install Wazuh on Docker.

Let me know if you have faced any issues following the steps.

Regards,
Hasitha Upekshitha

Veera

unread,
Apr 29, 2025, 4:39:13 AM4/29/25
to Wazuh | Mailing List
Hi  Hasitha ,

Yes , I follow  the requirements guide , you highlighed and i had no errors , until I started building a new cluster with 10 workers
https://documentation.wazuh.com/current/deployment-options/docker/docker-installation.html#requirements

The image of latest versions of  image: wazuh/wazuh-certs-generator:0.0.2  are unavaialble for me , as it connects to the docker repositories where only 0.0.1 and 0.0.2 are available . 
So you might have assumed that I went directly to the step of   #  docker-compose -f generate-indexer-certs.yml run --rm generator . 


Also ,  the  generate-indexer-certs.yml contents of   is same for the wazuh-version 4.11 as in"v4.9.2" which i am using for  testing /stable purpose.[  official guide.  ]

Do you still suggest wazuh version(or git branch) of higher version can solve this problem?

Thanks 
Veera

Veera

unread,
May 5, 2025, 6:52:08 AM5/5/25
to Wazuh | Mailing List

Any comments or update on this query ?

hasitha.u...@wazuh.com

unread,
May 18, 2025, 4:58:06 AM5/18/25
to Wazuh | Mailing List
Hi Veera,

It seems the issue is same in latest version, I suggest you create a GitHub issue on this, and then our team will work on it. Make sure to add all the details with screenshots.
https://github.com/wazuh/wazuh/issues/new/choose

Regards,
Hasitha Upekshitha

Veera

unread,
Nov 25, 2025, 9:37:08 AM11/25/25
to Wazuh | Mailing List

Hi  Hasitha ,

I missed that.  Still the limitations persists
Shall i submit a  GitHub issue on this?
Reply all
Reply to author
Forward
0 new messages