mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-07 00:57:00 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
8
roles/openxpki/templates/perms.sh.j2
Normal file
8
roles/openxpki/templates/perms.sh.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R {{ pki_user }}:{{ pki_user }} {{ pki_root_dir }}/etc/ssl
|
||||
chmod 700 {{ pki_root_dir }}/etc/ssl
|
||||
# The root key is not used by OpenXPKI itself, protect it
|
||||
chown root:root {{ pki_root_dir }}/etc/ssl/root/signer-key-1.pem
|
||||
# Restrict access to the different keys
|
||||
chmod 600 {{ pki_root_dir }}/etc/ssl/*/*key*.pem
|
Reference in New Issue
Block a user