Hello everyone,
I am currently working on a mass deployment of Wazuh agents on Windows endpoints.
I have already reviewed the GPO-based deployment method described here:
https://wazuh.com/blog/deploying-wazuh-agent-using-windows-gpo/
However, this approach mainly relies on password-based enrollment and does not cover the use of certificates for agent authentication.
According to the official documentation on agent identity verification:
https://documentation.wazuh.com/current/user-manual/agent/agent-enrollment/security-options/agent-identity-verification.html#windows
it is required to deploy certificate files (sslagent.cert and sslagent.key) on each endpoint and configure the ossec.conf file accordingly (in the <client><enrollment> section).
My question is the following:
👉 Has anyone successfully implemented a mass deployment of Wazuh Windows agents WITH certificate-based authentication?
👉 If so, what method did you use to:
distribute the certificates (GPO, scripts, or other solutions?)
automate the agent configuration (editing ossec.conf, custom MSI packaging, etc.)
It seems that the certificate part makes automation significantly more complex, especially when using unique certificates per host.
Any feedback, experience, or guidance would be greatly appreciated.
Thanks in advance 🙂
Post-install script alternative
C:\ProgramData\WazuhCerts\ is just an example of where they could be.
In summary tho, this method could encounter a lot of issues like
Timing: Cert files must exist at the exact path when msiexec runs. Test with a small OU first.
Client key mismatch (This is a major one, even faced on single deployments with additional security for Wazuh agent identity enrollment)
Permissions: Cert files should be readable by the Wazuh service account. You can explore other mass deployment options using certificates with SCCM/Intune/PDQ or fallback to password based enrollment.
Any situation, kindly let us know your results for further assistance or share with the community on Slack or Discord.