Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
acme/autocert: support http-01 challenge type
The Manager now loops through known challenge types, trying to fulfill one at a time until it succeeds or runs out of supported challenges. The provisioning of "http-01" challenges can be done using the new Manager.HTTPHandler method. It requires listening on unencrypted port 80. Fixes golang/go#21890 Change-Id: I55de9501f0069a9f460fedd8b5b0a09b94f9ef05 Reviewed-on: https://go-review.googlesource.com/87201 Run-TryBot: Alex Vaghin <ddos@google.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
- Loading branch information
Showing
with
387 additions
and 83 deletions.
- +234 −82 acme/autocert/autocert.go
- +151 −0 acme/autocert/autocert_test.go
- +2 −1 acme/autocert/example_test.go
There are no files selected for viewing
Oops, something went wrong.