We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I used ansible to push the wazuh-agent on my servers. I want to do the upgrading via wazuh dashboard remote upgrade function.
However upgrade fails instantly with this error code on the wazuh agent logs
wazuh-modulesd: ERROR: (1118): Could not retrieve information of file ' /var/ossec/etc/wpk_root.pem ' due to [(2)-(No such file or directory)].
The relevant section in /var/ossec/etc/ossec.conf looks like this:
/var/ossec/etc/ossec.conf
<active-response> <disabled>no</disabled> <ca_store> /var/ossec/etc/wpk_root.pem </ca_store> <ca_verification>yes</ca_verification> </active-response>
No wonder it fails
You can work around it by removing newlines from the ca_store option:
<active-response> <disabled>no</disabled> <ca_store>/var/ossec/etc/wpk_root.pem</ca_store> <ca_verification>yes</ca_verification> </active-response>
Now upgrades work again.
So the template file var-ossec-etc-ossec-agent.conf.j2 should be modified to fix this.
var-ossec-etc-ossec-agent.conf.j2
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
I used ansible to push the wazuh-agent on my servers.
I want to do the upgrading via wazuh dashboard remote upgrade function.
However upgrade fails instantly with this error code on the wazuh agent logs
The relevant section in
/var/ossec/etc/ossec.conf
looks like this:No wonder it fails
You can work around it by removing newlines from the ca_store option:
Now upgrades work again.
So the template file
var-ossec-etc-ossec-agent.conf.j2
should be modified to fix this.The text was updated successfully, but these errors were encountered: