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 - init
- config - 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 - name: Ossec-authd password
template: template:
src: authd_pass.j2 src: authd_pass.j2

View File

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