Indeed, if you’re going to change the IP of these nodes, you’ll need to generate new certificates that point to the new LAN IPs and update the configuration of inter-communicating Wazuh components. I recommend that you take snapshots of your nodes before doing this.
I would suggest proceeding like this:
On any one of your nodes, perform the actions in the first section of this documentation to generate new certificates for the new IPs:
Installing the Wazuh indexer step by step - Wazuh indexer
Stop before the section to install Wazuh Indexer. This will give you a wazuh-certificates.tar file. Copy the file to all your nodes. Your Wazuh components can remain running while you do this
On each manager node, edit /etc/filebeat/filebeat.yml. In the “hosts” line, update the IP(s) that point to the indexer cluster nodes and save. You can, at this point, stop each of the filebeat instances with: systemctl stop filebeat This will stop indexation, which will later make it safe for us to turn off the indexers
In the node where you have the dashboard, edit /usr/share/wazuh-dashboard/data/wazuh/config/wazuh.yml. Near the end of the file, update the URL if necessary. Then edit /etc/wazuh-dashboard/opensearch_dashboards.yml and update the opensearch.hosts line to point at the new node. If you had previously changed server.host to anything other than 0.0.0.0, it will need to be updated too
At this point, we should stop each of the indexers with: systemctl stop wazuh-indexer as we will start updating the certificates. For each indexer, backup the current certificates by moving them to a subdirectory: mkdir /etc/wazuh-indexer/certs/backup mv /etc/wazuh-indexer/certs/*.pem /etc/wazuh-indexer/certs/backup
Then install the new certificates by following this section of the documentation:
Installing the Wazuh indexer step by step - Wazuh indexer
Note that when setting up the environment variable with the node names, this refers to the names you’ve used in the config.yml configuration file when generating the certificates, refer attach image below:
With this, the certificates are copied and have the correct permissions. Ensure that the certificate file names match those of the old ones. Otherwise, we’ll need either to rename them or to change the name with what they appear in the indexer configuration at /etc/wazuh-indexer/opensearch.yml
Similarly, on each manager node, move the certificates that are at /etc/filebeat/certs to a subdirectory and install the new certificates following this documentation:
Installing the Wazuh server step by step - Wazuh server
Then verify the names again or update /etc/filebeat/filebeat.yml
The process is quite the same for the dashboard. As we haven’t stopped the service yet, let’s do that first: systemctl stop wazuh-dashboard Then follow the documentation to update the certificates:
Installing the Wazuh dashboard step by step - Wazuh dashboard
And verify their names
We’re done with configuration and certificates. It’s time to shut down the managers, which we’ve left running to allow for log processing during the procedure: systemctl stop wazuh-manager
With all the components stopped, you can proceed to physically switch IPs for your nodes. Check that the new ones are up and then bring up the services starting with the manager: systemctl start wazuh-manager systemctl start wazuh-indexer systemctl start filebeat systemctl start wazuh-dashboard
Once all configurations have been updated and all components are communicating correctly with each other, you can proceed with updating the manager address on the Wazuh agents.
It is not recommended to uninstall and reinstall the entire Wazuh environment solely to change the IP address, especially in a production environment, as this might result in the loss of existing configurations, log data, integrations, and other custom settings. Updating the existing configuration is generally the safer and more efficient approach.
You may proceed with the previously shared steps to update the IP address across the required Wazuh components.
However, if you still prefer to perform a clean reinstallation, please refer to the official Wazuh documentation for the complete uninstallation procedure: https://documentation.wazuh.com/current/installation-guide/uninstalling-wazuh/central-components.html
After completing the uninstallation steps, please also manually verify and remove any remaining directories if needed, such as:

Yes, your configuration looks correct. After starting the services, please validate the status of each component using: systemctl status <component_name> (for example: systemctl status wazuh-indexer). Also verify Filebeat communication with the Indexer using: filebeat test output
Once all services are confirmed to be in an active (running) state and Filebeat communication is successful, verify that the Wazuh dashboard is accessible using the new IP address.
Best regards,