There is no direct way for the Wazuh manager to set the automatic update. It needs to be done as described in the previous messages.
Also, you can configure the proxy, as explained in the issue:
So that /etc/systemd/system/wazuh-manager.service is modified and you do not need to use the offline update.
[Service]
Type=forking
EnvironmentFile=/etc/ossec-init.conf
Environment="https_proxy=http://<proxy_IP:port>"
Environment="http_proxy="http://<proxy_IP:port>"
LimitNOFILE=65536
And reloading daemon and service (systemctl restart wazuh-manager.service).
Regards,
Facundo