Browse Source

ssl: strengthen SSL private key permissions

tags/9.10.0^2
Jérémy Lecour 1 year ago
committed by Jérémy Lecour
parent
commit
4e6cbf514d
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      ssl/tasks/main.yml

+ 3
- 1
ssl/tasks/main.yml View File

@@ -12,7 +12,9 @@
copy:
src: "ssl/{{ ssl_cert }}.key"
dest: "/etc/ssl/private/{{ ssl_cert }}.key"
mode: "0600"
mode: "0640"
owner: root
group: ssl-cert
register: ssl_copy_key
tags:
- ssl


Loading…
Cancel
Save