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)
]# 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]#