Skip to content

Ansible Role that generates Diffie-Hellman Parameters (dhparam)

License

Notifications You must be signed in to change notification settings

runtman/ansible-dhparam

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Ansible Role that generates Diffie-Hellman Parameters (dhparam)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published