wazuh / wazuh-installation-assistant

Wazuh - Installation assistant
https://wazuh.com/
GNU General Public License v2.0
0 stars 3 forks source link

Added check when generating certificates for multiple DNS. #88

Closed c-bordon closed 2 weeks ago

c-bordon commented 2 weeks ago

related: https://github.com/wazuh/wazuh-packages/pull/3006 releated: https://github.com/wazuh/wazuh-installation-assistant/issues/78

Test

root@ubuntu-jammy:~# cat config.yml 
nodes:
  indexer:
    - name: wazuh-indexer
      ip: www.google.es
  server:
    - name: wazuh-server
      ip: www.google.es
  dashboard:
    - name: wazuh-dashboard
      ip: www.google.es
root@ubuntu-jammy:~# bash wazuh-certs-tool.sh -A -v
30/09/2024 14:53:59 INFO: Verbose logging redirected to /root/wazuh-certificates-tool.log
30/09/2024 14:53:59 DEBUG: Reading configuration file.
30/09/2024 14:53:59 ERROR: The DNS www.google.es is not valid.