certificates/acme
David Cowden 9af4dd3692 acme: Retry challenge validation attempts
Section 8.2 of RFC 8555 explains how retries apply to the validation
process. However, much is left up to the implementer.

Add retries every 12 seconds for 2 minutes after a client requests a
validation. The challenge status remains "processing" indefinitely until
a distinct conclusion is reached. This allows a client to continually
re-request a validation by sending a post-get to the challenge resource
until the process fails or succeeds.

Challenges in the processing state include information about why a
validation did not complete in the error field. The server also includes
a Retry-After header to help clients and servers coordinate.

Retries are inherently stateful because they're part of the public API.
When running step-ca in a highly available setup with replicas, care
must be taken to maintain a persistent identifier for each instance
"slot". In kubernetes, this implies a *stateful set*.
2020-05-06 07:39:13 -07:00
..
api acme: Retry challenge validation attempts 2020-05-06 07:39:13 -07:00
account.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
account_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
authority.go acme: Retry challenge validation attempts 2020-05-06 07:39:13 -07:00
authority_test.go Add automated challenge retries, RFC 8555 2020-04-30 04:44:08 -07:00
authz.go acme: Retry challenge validation attempts 2020-05-06 07:39:13 -07:00
authz_test.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00
certificate.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
certificate_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
challenge.go acme: Retry challenge validation attempts 2020-05-06 07:39:13 -07:00
challenge_test.go Add automated challenge retries, RFC 8555 2020-04-30 04:44:08 -07:00
common.go acme: Retry challenge validation attempts 2020-05-06 07:39:13 -07:00
directory.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
directory_test.go wip 2019-09-19 13:17:45 -07:00
errors.go Should be returning status code 400 for ACME Account Not Found. 2020-02-01 17:35:41 -08:00
nonce.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
nonce_test.go Add ACME CA capabilities 2019-09-13 15:48:33 -07:00
order.go Add the commonName as a DNSName to match RFC. 2020-01-28 15:34:01 -08:00
order_test.go Add support for TLS-ALPN-01 challenge. 2020-02-07 14:37:13 -05:00