Upgrade Wazuh_Agent

22 views
Skip to first unread message

Nam Vũ

unread,
Jul 15, 2026, 6:39:07 AM (4 days ago) Jul 15
to Wazuh | Mailing List
Hello, I'am having a problem with upgrade agent
Can I upgrade agent wazuh 4.3.9 to 4.12.0 from dashboard or manager ?
When I tried to upgrade the Wazuh agent, it showed an error like this in agent logs: 2026/07/15 01:43:05 wazuh-agent: ERROR: Error verifying WPK certificate
. 2026/07/15 01:43:05 wazuh-modulesd:agent-upgrade: ERROR: (8139): At unsign(): Could not unsign package file 'incoming\wazuh_agent_v4.12.0_windows.wpk' 2026/07/15 01:43:05 wazuh-modulesd:agent-upgrade: ERROR: (8131): At upgrade: 'Could not verify signature'
And when i tried to upgrade the Wazuh agent, is showed an error like this in terminal: Failed upgrades: Agent 206 status: Send lock restart error

Screenshot 2026-07-15 165435.pngScreenshot 2026-07-15 165749.png

Stuti Gupta

unread,
Jul 15, 2026, 7:34:25 AM (4 days ago) Jul 15
to Wazuh | Mailing List

Hi,

Yes, it is possible to upgrade a Wazuh agent from 4.3.9 to 4.12.0 remotely from the Wazuh dashboard or manager. However, based on the errors:

ERROR: Error verifying WPK certificate.

ERROR: (8139): At unsign(): Could not unsign package file

ERROR: (8131): Could not verify signature


Failed upgrades: Agent 206 status: Send lock restart error

This appears to be the known issue related to WPK package signing certificates.

There is a similar issue that confirms the WPK packages for some releases were signed with certificates that later expired. As a result, agents reject the package during signature verification, producing the same Could not verify signature error.

As an immediate workaround, you can temporarily disable WPK CA verification on the manager by adding the following to /var/ossec/etc/ossec.conf:

<agent-upgrade>
  <ca_verification>
    <enabled>no</enabled>
  </ca_verification>
</agent-upgrade>

Then restart the manager:

sudo systemctl restart wazuh-manager

Please note that this should only be used as a temporary workaround, as it disables signature verification.

Additionally, you can also remote upgrades through the REST API instead of the CLI. https://documentation.wazuh.com/current/user-manual/agent/agent-management/remote-upgrading/upgrading-agent.html

The following documentation may also be helpful:

Remote upgrading agents: https://documentation.wazuh.com/current/user-manual/agent/agent-management/remote-upgrading/index.html

agent-upgrade (ca_verification): https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/agent-upgrade.html

Reply all
Reply to author
Forward
0 new messages