dhparam

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

About

Generates Diffie-Hellman Parameters (dhparam)

Install
ansible-galaxy install gronke/ansible-dhparam
GitHub repository
License
mit
Downloads
13394