Hi I am using Wazuh Virtual machine to setup HIDS in my home lab. I downloaded and installed the windows agent installer to automatically register the windows PC on Wazuh but it does not pick the authentication key. After that failed to work I checked the wazuh blog for a solution at:
https://blog.wazuh.com/automatically-deploying-ossec-to-windows-using-wazuh-api/I went to the page and downloaded the files made available and I modified the deploy.bat file. I run it as administrator and this is what I got in the ossec log:
Starting
Certify OK
Installing WAZUH
WAZUH Installed OK
Added server-ip to ossec.conf
Some error adding the agent Exception calling "GetRequestStream" with "0" argument(s): "The underlying connection was closed: An unexpected error occurred on a send."
What could be the problem? I have tried the solutions provided on the blog, documentation site and even looked for video tutorials but nothing seems to work.