diff --git a/Ansible/tasks/renew-cert.yaml b/Ansible/tasks/renew-cert.yaml
index 4b18c122fcf5112a91890dc1fe603f604138cae7..c8f15f82cd17db9f80eb0013d4cae7654c080df2 100644
--- a/Ansible/tasks/renew-cert.yaml
+++ b/Ansible/tasks/renew-cert.yaml
@@ -184,6 +184,10 @@
         # yamllint enable rule:line-length
         mode: 0o0644
         path: *dhparams
+        # It takes a considerable amount of time to generate new DH parameters.
+        # Try using the openssl backend instead of the Python Cryptography one
+        # to speed it up.
+        select_crypto_backend: openssl
         size: 4096
         state: present
       notify: '{{ handlers|default([]) }}'