This commit is contained in:
Dryusdan 2021-10-22 19:57:51 +02:00
parent f892c8b788
commit 73b7df2be7
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@
register: vhost_changed
- name: "Create certificate"
shell: "certbot certonly --non-interactive --webroot --email {{ nginx_letsencrypt_email }} --agree-tos --webroot-path=/var/www/letsencrypt {% for domain in item.server_name %} -d {{ domain }} {% endfor %} --expand --rsa-key-size 4096;"
shell: "certbot certonly --non-interactive --webroot --email {{ nginx_letsencrypt_email }} --agree-tos --webroot-path=/var/www/letsencrypt {% for domain in item.server_name %} -d {{ domain }} {% endfor %} --expand --key-type ecdsa --elliptic-curve sec p384r1;"
when:
- item.ssl
- item.letsencrypt