-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when generate-indexer-certs Please help me T_T #733
Comments
Same error here:
|
Hello @SYRTI The execution of command The file that should be downloaded is the following: https://packages.wazuh.com/4.3/wazuh-certs-tool.sh, can you check that you can download it through I see that you are performing the deployment inside a virtual machine, by the hostname shown in the terminal, can you check its network configuration in case it is limiting access in some way? What system is it? Lastly, I also see that the Hello @maxferrario-msf Which branch are you using? Could you give more information and take into consideration the comments made above? |
Hi, In my case this is the output of
|
Hello @maxferrario-msf , I'm glad it works on Ubuntu 22, which is the system where you observed the error? Would it be possible for you to share as much information as possible so that we can try to reproduce the problem?
And if you still have that system, the direct download of the file fails or is successful?
Regards, Raúl. |
Hi @rauldpm , |
Hello @maxferrario-msf, I've done some testing on that system, and initially, the deployment was successful, now, as I mentioned earlier, it looks like firewalld may be the reason for this error. After starting the firewalld service, the creation of the certificates has taken a long time to complete, indicating the aforementioned message:
This makes sense since due to the firewall it has not been able to obtain the said file. I will consult with the team about the possibility of adding some type of control or check on connectivity before downloading files. |
After discussing it with the team, I have opened this issue: #736 |
Hello @SYRTI First, you should identify the logs you want to monitor, after that, you can configure Logcollector to monitor the desired logs.
You can also create your own decoders and rules to read what you think is convenient from the log. This is the documentation about customs rules and decoders: https://documentation.wazuh.com/current/user-manual/ruleset/custom.html Since the question is not related to the theme of the issue, it would be convenient for you to open another issue in a more general repository for the theme of the question like the https://github.com/wazuh/wazuh repository, or to create a thread in our Google Group or our Slack channel, where there is the largest community movement for these types of questions. Regards, Raúl. |
I proceed to close this issue due to inactivity. Please don't hesitate to re-open if necessary. |
systemctl restart docker. everything will ok |
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.3/ which throws this message:
Cert tool does not exist in any bucket
ERROR: certificates were not created
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.
The text was updated successfully, but these errors were encountered: