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 }}"