From 1bb1ddda73e2e8fdd5bc2a5a420fbf4e1621304b Mon Sep 17 00:00:00 2001 From: fcaffieri Date: Thu, 21 May 2026 20:58:48 -0300 Subject: [PATCH] Log certificates permission --- .github/workflows/check_integration_tools.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/check_integration_tools.yaml b/.github/workflows/check_integration_tools.yaml index 79d744d9..f6e7f5d3 100644 --- a/.github/workflows/check_integration_tools.yaml +++ b/.github/workflows/check_integration_tools.yaml @@ -393,7 +393,7 @@ jobs: set -e cd /tmp/wazuh-docker/${DEPLOYMENT} echo '=== Running certificate generation ===' - sudo bash /tmp/wazuh-docker/tools/utils/deployment/certificates-conf.sh --cert --copy --priv + sudo bash /tmp/wazuh-docker/tools/utils/deployment/certificates-conf.sh --cert --copy echo '' echo '=== Generated certificate files ===' find ./config -name '*.pem' | sort @@ -405,6 +405,15 @@ jobs: done " + - name: Verify certificate permissions + run: | + DEPLOYMENT="${{ matrix.deployment_type }}" + ssh ${{ env.SSH_OPTS }} "${{ env.REMOTE }}" " + echo '=== Certificate permissions before compose up ===' + find /tmp/wazuh-docker/${DEPLOYMENT}/config -name '*.pem' \ + -exec ls -la {} \; 2>/dev/null | sort || echo '(no .pem files found)' + " + - name: Start Docker Compose run: | DEPLOYMENT="${{ matrix.deployment_type }}"