wazuh / wazuh-docker

Wazuh - Docker containers
https://wazuh.com
Other
665 stars 384 forks source link

"docker-compose -f generate-indexer-certs.yml run --rm generator " command does not work #1501

Open celinesantosh98 opened 1 month ago

celinesantosh98 commented 1 month ago

Hi

I am trying to install wazuh on linux Virtual PC which is behind a http proxy. "docker-compose -f generate-indexer-certs.yml run --rm generator " this command doesn't work as it throws error The tool to create the certificates does not exist in any bucket. Then I entered the docker container and tried to run random curl command and it didn't work which means the env variables were not set properly. SO I manually exported env variables inside docker container then ran entry point.sh script to complete the execution. Still it throws the same error .

Thanks Celine

owarz commented 3 weeks ago

because they wrote 5.0.0 in the docker compose file from memory, (but version 0.0.0.2) whereas the latest image 0.0.2 doesn't come even if you fix generate-indexer-certs.yml,

Here's how I overcame the problem

docker pull wazuh/wazuh-certs-generator:0.0.0.2

and then get the image id

image in generate-indexer-certs.yml

Example:

generator: image: 60d428874d3a

eksvu commented 3 weeks ago

Hi

I am trying to install wazuh on linux Virtual PC which is behind a http proxy. "docker-compose -f generate-indexer-certs.yml run --rm generator " this command doesn't work as it throws error

The tool to create the certificates does not exist in any bucket. Then I entered the docker container and tried to run random curl command and it didn't work which means the env variables were not set properly. SO I manually exported env variables inside docker container then ran entry point.sh script to complete the execution. Still it throws the same error .

Thanks

Celine

Попробуйте вот так

https://github.com/wazuh/wazuh-docker/issues/1142#issuecomment-2321608713

У меня получилось создать сертификаты.