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

Error in generate-indexer-certs

Open AbuLelahx opened this issue 2 years ago • 5 comments

Cant generate the Certificates with docker-compose -f generate-indexer-certs.yml run --rm generator because the image image: wazuh/wazuh-certs-generator:0.0.1 seems to point at PACKAGES_URL=https://packages.wazuh.com/4.5/ which throws this message: Cert tool does not exist in any bucket ERROR: certificates were not created

I used the 4.3.7 Release..

AbuLelahx avatar Sep 08 '22 13:09 AbuLelahx

Hello @AbuLelahx

Can you tell me the steps you followed to perform the deploy? The configurations for the generation of certificates are made within the directory of the type of deploy that you are going to carry out, which can be single-node or multi-node, what is the type of deploy that you are carrying out?

Also, can you show me what branch or tag you are on to know what changes you have in the repository? with the output of the git branch command

vcerenu avatar Sep 08 '22 19:09 vcerenu

Hi @vcerenu I have the same problem. I follow this steps

sysctl -w vm.max_map_count=262144 uname -a curl -sSL https://get.docker.com/ | sh

  • if we have any error I use sudo dpkg --configure -a start docker systemctl start docker download binary curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose test docker-compose --version Output: docker-compose version 1.29.2, build 5becea4c clone repo git clone https://github.com/wazuh/wazuh-docker.git -b v4.3.8 --depth=1

Then enter into the single-node directory. All the commands described below are executed within this directory. For additional security, the default password for the Wazuh indexer administrator user can be changed.

docker-compose -f generate-indexer-certs.yml run --rm generator

ERROR HERE!

docker-compose up

ERROR. image

SYRTI avatar Oct 12 '22 13:10 SYRTI

I have the same error when I run

~/wazuh-docker/single-node$ sudo docker-compose -f generate-indexer-certs.yml run --rm generator
/snap/docker/2285/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
  from cryptography.hazmat.backends import default_backend
Creating network "single-node_default" with the default driver
Pulling generator (wazuh/wazuh-certs-generator:0.0.1)...
0.0.1: Pulling from wazuh/wazuh-certs-generator
d7bfe07ed847: Pull complete
a6023cfa8265: Pull complete
6135753eefe9: Pull complete
9aaf0dae5d3f: Pull complete
Digest: sha256:6fc929d58d01b789d4a19c5da476c78cc267c0af07d1b22227ccae49acb084dc
Status: Downloaded newer image for wazuh/wazuh-certs-generator:0.0.1
Creating single-node_generator_run ... done

Cert tool does not exist in any bucket
ERROR: certificates were not created
ERROR: 1

The output of git branch is * (no branch) even if i cloned the repository using git clone https://github.com/wazuh/wazuh-docker.git -b v4.3.9 --depth=1

maxferrario-msf avatar Oct 19 '22 13:10 maxferrario-msf

Please close this issue. I found the solution.

Maybe you can help me (Again)

I need monitoring a background service (mascv trellix agent in Windows), but don't find the way

image

SYRTI avatar Nov 08 '22 13:11 SYRTI

Please close this issue. I found the solution.

Maybe you can help me (Again)

I need monitoring a background service (mascv trellix agent in Windows), but don't find the way

image

can you please share your solution?

crlsgms avatar May 11 '24 20:05 crlsgms