You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Subset of https://datatracker.ietf.org/doc/html/rfc5280#section-5.3.1 as supported by Boulder.
257
+
my$revocation_reasons = {
258
+
unspecified=> 0,
259
+
keycompromise=> 1,
260
+
affiliationchanged=> 3,
261
+
superseded=> 4,
262
+
cessationofoperation=> 5,
263
+
};
264
+
253
265
=head1METHODS (API Setup)
254
266
255
267
The following methods are provided for the API setup. Please note that account key setup by default requests the resource directory from Let's Encrypt servers.
@@ -297,8 +309,13 @@ Enables automatic retrieval of the resource directory (required for normal API p
297
309
298
310
=itemC<delay>
299
311
300
-
Specifies the time in seconds to wait before Let's Encrypt servers are checked for the challenge verification results again. By default set to 2 seconds.
301
-
Non-integer values are supported (so for example you can set it to 1.5 if you like).
312
+
Specifies the time in seconds to wait before the challenge verification results are checked again. By default set to 2 seconds.
313
+
Non-integer values are supported (so for example you can set it to 1.5 if you like). Please note that the server-specified delay overrides this value,
314
+
but it can be adjusted by using max_server_delay (see below).
315
+
316
+
=itemC<max_server_delay>
317
+
318
+
Overrides server-specified delay in seconds to wait before the challenge verification results are checked again.
302
319
303
320
=itemC<version>
304
321
@@ -323,20 +340,23 @@ sub new {
323
340
my$class = shift;
324
341
my%params = @_;
325
342
my$self = {
326
-
ua=>'',
327
-
server=>'',
328
-
ca=>'',
329
-
dir=>'',
330
-
live=> 0,
331
-
debug=> 0,
332
-
autodir=> 1,
333
-
delay=> 2,
334
-
version=> 0,
335
-
try=> 300,
343
+
ua=>'',
344
+
server=>'',
345
+
ca=>'',
346
+
dir=>'',
347
+
live=> 0,
348
+
debug=> 0,
349
+
autodir=> 1,
350
+
delay=> 0,
351
+
max_server_delay=> 0,
352
+
version=> 0,
353
+
try=> 300,
336
354
};
337
355
foreachmy$key (keys %{$self}) {
338
356
$self->{$key} = $params{$key} if (exists$params{$key} and !ref$params{$key});
0 commit comments