This commit is contained in:
Rob Lazzurs 2017-06-07 00:07:28 +00:00 committed by GitHub
commit bad1929c66
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@
- name: Generate the SSH private key
shell: >
echo -e 'n' |
ssh-keygen -b 2048 -C {{ SSH_keys.comment }}
ssh-keygen -b 4096 -C {{ SSH_keys.comment }}
-t rsa -f {{ SSH_keys.private }} -q -N ""
args:
creates: "{{ SSH_keys.private }}"

View file

@ -52,7 +52,7 @@ emailAddress = optional
# Easy-RSA request handling
# We key off $DN_MODE to determine how to format the DN
[ req ]
default_bits = 2048
default_bits = 4096
default_keyfile = privkey.pem
default_md = sha256
distinguished_name = cn_only