summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-10-28 18:45:54 +0100
committerGuilhem Moulin <guilhem@fripost.org>2015-10-28 18:45:54 +0100
commitc0a01be908b259918865f4dd4c816f61cf6119ae (patch)
treeaf647b9407bffd3fdda4e7350c4b76377752f78d /roles
parentdb3f3df89acc33740af35b4860b23aebce6aff62 (diff)
Internal Postfix config: Generate RSA 4096 keys by default.
Diffstat (limited to 'roles')
-rw-r--r--roles/common/tasks/mail.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml
index 1873928..c8e2495 100644
--- a/roles/common/tasks/mail.yml
+++ b/roles/common/tasks/mail.yml
@@ -57,7 +57,7 @@
--pubkey=/etc/postfix/ssl/{{ ansible_fqdn }}.pem
--privkey=/etc/postfix/ssl/{{ ansible_fqdn }}.key
--ou=Postfix --cn={{ ansible_fqdn }}
- -t ecdsa -b secp384r1 -h sha512
+ -t rsa -b 4096 -h sha512
register: r4
changed_when: r4.rc == 0
failed_when: r4.rc > 1