Resource Type: openssl_dhparam
- Defined in:
- lib/puppet/type/openssl_dhparam.rb
Summary
Generate a file with Diffie-Hellman parametersOverview
Generate Diffie-Hellman parameters for an TLS enabled application by specifying the number of bits and the generator number to use.
The type expects to find the “—–BEGIN DH PARAMETERS—–” token in the file or it will overwrite the file content with new parameters.
The type is refreshable and will generate new parameters if the resource is notified from another resource.
This type uses the Ruby OpenSSL library and does not need the ‘openssl` binary provided by the operating system.
Note: The creation of Diffie-Hellman parameters with a larger number of bits takes a significant amount of CPU time (sometimes multiple minutes). This might look as if the Puppet Agent is hanging.