wazuh-docker
wazuh-docker copied to clipboard
Wazuh Keystore - RSA keys changed its location.
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.