From f9fa7026603a298c46aea77d753e0a8121e5d71b Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Mon, 7 Jul 2014 03:26:50 +0200 Subject: Add ability to add custom OrganizationalUnits in genkeypair. Also, it's now possible to reuse an existing private key (with -f). --- roles/common/tasks/mail.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/common/tasks/mail.yml') 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 -- cgit v1.2.3