Skip to content

Commit

Permalink
Merge pull request #12 from f500/adds-dsaparam-option-to-openssl-command
Browse files Browse the repository at this point in the history
Adds -dsaparam option to openssl command
  • Loading branch information
michielfuture500 authored Sep 12, 2023
2 parents 0eed092 + bf879ff commit d3db0c7
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 d3db0c7

Please sign in to comment.