inspec/test/cookbooks/os_prepare/recipes/dh_params.rb
Doc Walker 692e660140 Fix #1617 Add dh_params resource (#1618)
* Fix #1617 Add dh_params resource

Signed-off-by: Doc Walker <4-20ma@wvfans.net>
2017-04-04 10:34:09 -04:00

8 lines
131 B
Ruby

if node['platform_family'] != 'windows'
openssl_dhparam '/tmp/example.dh_pem' do
key_length 2048
generator 2
end
end