summaryrefslogtreecommitdiffstats
path: root/roles/IMAP/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-07-07 03:26:50 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:34 +0200
commitf9fa7026603a298c46aea77d753e0a8121e5d71b (patch)
treea2b8b5f35d28a8b843b5c25a5ddf516b9eb58ee4 /roles/IMAP/tasks
parentd198adc93708070fa1325e6d6b5df20f05804e1e (diff)
Add ability to add custom OrganizationalUnits in genkeypair.
Also, it's now possible to reuse an existing private key (with -f).
Diffstat (limited to 'roles/IMAP/tasks')
-rw-r--r--roles/IMAP/tasks/imap.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/IMAP/tasks/imap.yml b/roles/IMAP/tasks/imap.yml
index 71a0cb4..25f876d 100644
--- a/roles/IMAP/tasks/imap.yml
+++ b/roles/IMAP/tasks/imap.yml
@@ -73,7 +73,7 @@
command: genkeypair.sh x509
--pubkey=/etc/dovecot/ssl/imap.fripost.org.pem
--privkey=/etc/dovecot/ssl/imap.fripost.org.key
- --dns=imap.fripost.org
+ --ou=IMAP --cn=imap.fripost.org
-t rsa -b 4096 -h sha512
register: r1
changed_when: r1.rc == 0