Log certificates permission

This commit is contained in:
fcaffieri
2026-05-21 20:58:48 -03:00
parent d888b01e9e
commit 1bb1ddda73
+10 -1
View File
@@ -393,7 +393,7 @@ jobs:
set -e set -e
cd /tmp/wazuh-docker/${DEPLOYMENT} cd /tmp/wazuh-docker/${DEPLOYMENT}
echo '=== Running certificate generation ===' 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 ''
echo '=== Generated certificate files ===' echo '=== Generated certificate files ==='
find ./config -name '*.pem' | sort find ./config -name '*.pem' | sort
@@ -405,6 +405,15 @@ jobs:
done 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 - name: Start Docker Compose
run: | run: |
DEPLOYMENT="${{ matrix.deployment_type }}" DEPLOYMENT="${{ matrix.deployment_type }}"