x/crypto/acme/autocert: add hooks for transaction locks #36818
Labels
FeatureRequest
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
The
Manager.createCert
method has a lock around the ACME transaction so that multiple goroutines can safely call this method concurrently. This does not protect against multiple processes (possibly on different machines) doing this concurrently.If transaction hooks were added, then a caller could provide a custom
Cache
which uses remote storage, allowing multiple servers to safely request certificate generation/renewal and share the certificates.If this approach is acceptable, I can start work on a PR.
The text was updated successfully, but these errors were encountered: