diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2014-07-07 03:26:50 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2015-06-07 02:52:34 +0200 |
commit | f9fa7026603a298c46aea77d753e0a8121e5d71b (patch) | |
tree | a2b8b5f35d28a8b843b5c25a5ddf516b9eb58ee4 /roles/common/tasks | |
parent | d198adc93708070fa1325e6d6b5df20f05804e1e (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/common/tasks')
-rw-r--r-- | roles/common/tasks/mail.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/mail.yml b/roles/common/tasks/mail.yml index cbec8cf..571b66f 100644 --- a/roles/common/tasks/mail.yml +++ b/roles/common/tasks/mail.yml @@ -56,7 +56,7 @@ command: genkeypair.sh x509 --pubkey=/etc/postfix/ssl/{{ ansible_fqdn }}.pem --privkey=/etc/postfix/ssl/{{ ansible_fqdn }}.key - --dns={{ ansible_fqdn }} + --ou=Postfix --cn={{ ansible_fqdn }} -t ecdsa -b secp384r1 -h sha512 register: r4 changed_when: r4.rc == 0 |