Hi Luis,
sorry for the late response. In Wazuh 3.2.0, the protocol must be set in lowercase, if not, it will generate an invalid ossec.conf as you are getting. This is fixed in Wazuh 3.2.1. Also, Windows 7 has an old version of SSL, so in order to register an agent successfully using authd, you must start in your manager ossec-authd
with the option to auto negotiate the SSL protocol with the agent. To do that, run the following in your manager:
# /var/ossec/bin/ossec-authd -a
More information in: http://documentation.wazuh.com/current/user-manual/reference/daemons/ossec-authd.html
Finally, the window that pops up when you try to run the msi installer is a problem related to Windows. Windows, in many cases, "blocks" any script or installer downloaded from the internet, even if the installer is signed (as it happens with Wazuh installer). This block makes appear the window that you are getting in the screenshot, asking you for a double confirmation.
To unblock the installer you can go to the properties of the file (right click in the installer, properties) and click in the Unblock button, but if you are deploying the agent remotely, please, do not download the installer from Internet Explorer. You can do it with Powershell:
$url = "https://packages.wazuh.com/3.x/windows/wazuh-agent-3.2.1-1.msi" $output = "Path\to\wazuh-agent-3.2.1-1.msi" (New-Object Net.WebClient).DownloadFile($url, $output)
Once it is downloaded, you can execute it without problems.
Hope it helps.
Regards,
Braulio.
wazuh-agent-3.2.1-1.msi /q ADDRESS="192.168.1.1" AUTHD_SERVER="192.168.1.1" PASSWORD="TopSecret" AGENT_NAME="W2012"
In our situation that didn't work, so I had to use this:
msiexec.exe /i <path_to_the_file>\wazuh-agent-3.2.1.msi /qn ADDRESS="192.168.1.1" AUTHD_SERVER="192.168.1.1" PASSWORD="TopSecret"
For example msiexec.exe /i c:\Users\<username>\Downloads\wazuh-agent-3.2.1.msi /qn ADDRESS="192.168.1.1" AUTHD_SERVER="192.168.1.1" PASSWORD="TopSecret"
To remove it (might have to be run from the directory where the msi is located).
msiexec /x wazuh-agent-3.2.1.msi /qn
Hope that helps. Regards,
Robert