Hi Lanny,
For a 3-node Wazuh cluster, the certs are generated from config.yml, and the docs are explicit that the node address used later must be the
same one that was used when the certificates were created. Wazuh says to use the same node address from config.yml in the indexer config, and the node name passed to wazuh-install.sh --wazuh-indexer must also match the one used in config.yml.
That usually means one of these is wrong:
- The node-1 name in config.yml does not match the name you used in bash wazuh-install.sh --wazuh-indexer node-1
- The IP or DNS name in config.yml does not match what the node is actually using.
- You generated wazuh-install-files.tar / wazuh-certificates.tar from an old or incorrect config.yml
https://documentation.wazuh.com/current/user-manual/wazuh-indexer-cluster/certificate-deployment.htmlLet me know if you plan to install Wazuh central components on three different nodes or any other option?
I have tested that it's working fine on my end. Check the above details and try again from the beginning.
nodes:
# Wazuh indexer nodes
indexer:
- name: node-1
ip: "<indexer-node-ip>"
#- name: node-2
# ip: "<indexer-node-ip>"
#- name: node-3
# ip: "<indexer-node-ip>"
# Wazuh server nodes
# If there is more than one Wazuh server
# node, each one must have a node_type
server:
- name: wazuh-1
ip: "<wazuh-manager-ip>"
# node_type: master
#- name: wazuh-2
# ip: "<wazuh-manager-ip>"
# node_type: worker
#- name: wazuh-3
# ip: "<wazuh-manager-ip>"
# node_type: worker
# Wazuh dashboard nodes
dashboard:
- name: dashboard
ip: "<dashboard-node-ip>"
Replace <indexer-node-ip>, <wazuh-manager-ip>, and <dashboard-node-ip> according to your three servers and recreate the certificates. Make sure to use the same name you have used in the indexer: - name: node-1 in the config.yml to run the installation command: bash wazuh-install.sh --wazuh-indexer node-1
Ref: https://documentation.wazuh.com/current/installation-guide/wazuh-indexer/installation-assistant.html
Let me know the update on this.