Removed sslmanager key from the docker manager image

This commit is contained in:
Carlos Bordon
2025-11-26 14:59:05 -03:00
parent 15e49f7325
commit cdfaa5ec31
2 changed files with 9 additions and 11 deletions
@@ -39,6 +39,10 @@ COPY config/filebeat.yml /etc/filebeat/
RUN chmod go-w /etc/filebeat/filebeat.yml
# Remove wazuh-authd default certs to force generation of new ones at container startup
RUN rm -f /var/ossec/etc/sslmanager.key && \
rm -f /var/ossec/etc/sslmanager.cert
ADD https://raw.githubusercontent.com/wazuh/wazuh/$FILEBEAT_TEMPLATE_BRANCH/extensions/elasticsearch/7.x/wazuh-template.json /etc/filebeat
RUN chmod go-w /etc/filebeat/wazuh-template.json