diff --git a/tasks/create-cert-standalone.yml b/tasks/create-cert-standalone.yml index 2750ec3..7dfee96 100644 --- a/tasks/create-cert-standalone.yml +++ b/tasks/create-cert-standalone.yml @@ -43,5 +43,5 @@ - name: Generate Diffie-Hellman parameters openssl_dhparam: - path: /etc/letsencrypt/ssl-dhparams.pem + path: /etc/letsencrypt/live/{% if certbot_cert_name %}{{ certbot_cert_name }}{% else %}{{ cert_item.domains | first | replace('*.', '') }}{% endif %}/ssl-dhparams.pem size: 2048