Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.3 KB

README.md

File metadata and controls

38 lines (29 loc) · 1.3 KB

Ansible Role: Diffie-Hellman Parameters

Uses OpenSSL to generate strong Diffie-Hellman parameters.

Depending on the system and key size generating this keys can take a very long time.

Role Variables

Variable Required Default
dhparam_size no 4096
dhparam_file no /etc/ssl/certs/dhparam-{{dhparam_size}}.pem
dhparam_update_enabled no false
dhparam_update_interval no weekly

Examples

Generate dhparams with 2048 bit once

- role: gronke.dhparam
  dhparam_size: 2048
  dhparam_file: /etc/ssl/dhparam.pem

Generate dhparams with auto-update cronjob

- role: gronke.dhparam
  dhparam_update_enabled: true

References