Skip to content

Commit cc6ffc2

Browse files
authored
Merge pull request #317 from dspinellis/dh-timeout
Set DH timeout to accommodate low performance CPU
2 parents fb3381e + 46d4699 commit cc6ffc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/ca.pp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292

9393
exec { "generate dh param ${name}":
9494
command => '. ./vars && ./clean-all && ./build-dh',
95-
timeout => 1800,
95+
timeout => 20000,
9696
cwd => "${etc_directory}/openvpn/${name}/easy-rsa",
9797
creates => "${etc_directory}/openvpn/${name}/easy-rsa/keys/dh${ssl_key_size}.pem",
9898
provider => 'shell',
@@ -166,6 +166,7 @@
166166

167167
exec { "generate dh param ${name}":
168168
command => './easyrsa --batch gen-dh',
169+
timeout => 20000,
169170
cwd => "${etc_directory}/openvpn/${name}/easy-rsa",
170171
creates => "${etc_directory}/openvpn/${name}/easy-rsa/keys/dh.pem",
171172
provider => 'shell',

0 commit comments

Comments
 (0)