VD keystore changes

This commit is contained in:
Gonzalo Acuña 2024-01-24 10:39:31 -03:00
parent a4295b4c33
commit 65d896ec7f
No known key found for this signature in database
GPG Key ID: 646BA79A313A2270
2 changed files with 19 additions and 12 deletions

View File

@ -252,6 +252,15 @@
- init
- config
- name: Generate the wazuh-keystore
shell: >
/var/ossec/bin/wazuh-keystore -f indexer -k user -v {{ indexer_security_user }}
/var/ossec/bin/wazuh-keystore -f indexer -k password -v {{ indexer_security_password }}
notify: restart wazuh-manager
tags:
- init
- config
- name: Ossec-authd password
template:
src: authd_pass.j2

View File

@ -272,8 +272,6 @@
{% endfor %}
</hosts>
<username>{{ indexer_security_user }}</username>
<password>{{ indexer_security_password }}</password>
<ssl>
<certificate_authorities>
<ca>{{ filebeat_ssl_dir }}/root-ca.pem</ca>