wazuh-docker icon indicating copy to clipboard operation
wazuh-docker copied to clipboard

Wazuh Keystore - RSA keys changed its location.

Open MiguelazoDS opened this issue 7 months ago • 0 comments

Description

As part of this implementation, https://github.com/wazuh/wazuh/issues/24111 @pereyra-m noticed that the fix won't work in a docker environment since it will not run the same script.

Dod

  • Since 4.8.1 the wazuh-keystore must read the certificates from /var/ossec/etc/{keystore.cert,keystore.key}
  • During an upgrade if new location keys do not exist copy /var/ossec/etc/{sslmanager.cert,sslmanager.key} to /var/ossec/etc/{keystore.cert,keystore.key}
  • If the copied keys are not valid, re-create them.

MiguelazoDS avatar Jul 02 '24 13:07 MiguelazoDS