forked from wazuh/wazuh-docker
Log certificates permission
This commit is contained in:
@@ -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 }}"
|
||||||
|
|||||||
Reference in New Issue
Block a user