From 85b989f72de1f9e6e6aa511bef0897bba213f789 Mon Sep 17 00:00:00 2001 From: Shameem Shah <89505063+shameemshah@users.noreply.github.com> Date: Fri, 7 Feb 2025 18:56:36 +0530 Subject: [PATCH] update on ssl.rst Without copying the renewed certificate, Wazuh can't renew the SSL certificate. To resolve this, add a copy command in the renewal hook to copy the latest certificate to the Wazuh cert folder. --- .../wazuh-dashboard/configuring-third-party-certs/ssl.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/user-manual/wazuh-dashboard/configuring-third-party-certs/ssl.rst b/source/user-manual/wazuh-dashboard/configuring-third-party-certs/ssl.rst index cdf3fc0095..1cae3520ba 100644 --- a/source/user-manual/wazuh-dashboard/configuring-third-party-certs/ssl.rst +++ b/source/user-manual/wazuh-dashboard/configuring-third-party-certs/ssl.rst @@ -234,7 +234,7 @@ Configure the renew_hook using the following steps authenticator = standalone server = https://acme-v02.api.letsencrypt.org/directory key_type = rsa - renew_hook = systemctl restart wazuh-dashboard + renew_hook = cp /etc/letsencrypt/live//privkey.pem /etc/letsencrypt/live//fullchain.pem /etc/wazuh-dashboard/certs/ && systemctl restart wazuh-dashboard #. Test the renewal hook by running the command below: