Fix permission in certificates

This commit is contained in:
fcaffieri
2022-03-31 18:40:44 -03:00
parent e7065fc52b
commit 621095329e
3 changed files with 7 additions and 2 deletions
+3
View File
@@ -104,3 +104,6 @@ cp -pr /wazuh-certificates/root-ca.key ${TARGET_DIR}${CONFIG_DIR}/root-ca.key
cp -pr /wazuh-certificates/root-ca.pem ${TARGET_DIR}${CONFIG_DIR}/root-ca.pem
cp -pr /wazuh-certificates/admin.pem ${TARGET_DIR}${CONFIG_DIR}/admin.pem
cp -pr /wazuh-certificates/admin-key.pem ${TARGET_DIR}${CONFIG_DIR}/admin-key.pem
chmod -R 500 ${TARGET_DIR}${CONFIG_DIR}
chmod -R 400 ${TARGET_DIR}${CONFIG_DIR}/*