Skip to content

Commit

Permalink
Adds -dsaparam option to openssl command
Browse files Browse the repository at this point in the history
  • Loading branch information
michielfuture500 committed Sep 12, 2023
1 parent 0eed092 commit bf879ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
- sites-enabled

- name: Generate Diffie-Hellman parameters
command: "openssl dhparam -out /etc/nginx/dh{{ nginx_dhparam_bits }}.pem {{ nginx_dhparam_bits }}"
command: "openssl dhparam -dsaparam -out /etc/nginx/dh{{ nginx_dhparam_bits }}.pem {{ nginx_dhparam_bits }}"
args:
creates: "/etc/nginx/dh{{ nginx_dhparam_bits }}.pem"

Expand Down

0 comments on commit bf879ff

Please sign in to comment.