summaryrefslogtreecommitdiffstats
path: root/roles/common/tasks
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2014-06-28 19:25:44 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:52:04 +0200
commita0b0b6de279d37641dd1eeb374e52d6fce73ab1d (patch)
treec673d5b3d3361d33b9cc878bf8af43bfc59eabff /roles/common/tasks
parent0040ab5bec158c5d316b6c0db22d9327ecc60e3a (diff)
Add support for CSR and subjectAltName in genkeypair.sh.
Diffstat (limited to 'roles/common/tasks')
-rw-r--r--roles/common/tasks/ipsec.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/common/tasks/ipsec.yml b/roles/common/tasks/ipsec.yml
index 6b97ddb..5e0115e 100644
--- a/roles/common/tasks/ipsec.yml
+++ b/roles/common/tasks/ipsec.yml
@@ -4,7 +4,7 @@
- name: Generate a key pair for IPSec
command: genkeypair.sh --pubkey=/etc/ipsec.d/certs/{{ inventory_hostname }}.pem
--privkey=/etc/ipsec.d/private/{{ inventory_hostname }}.key
- -n {{ inventory_hostname }}
+ --dns {{ inventory_hostname }}
-t ecdsa -b secp521r1 -h sha512
register: r1
failed_when: r1.rc > 1