Open rogpeppe opened 8 years ago
CL https://golang.org/cl/41731 mentions this issue.
Sorry that was wrong CL. But I'm definitely planning on fixing this one, too.
There's now https://github.com/letsencrypt/pebble, which is testing-oriented set of packages/mini implementation of the upcoming Let's Encrypt v2 endpoint. Might be useful.
Change https://golang.org/cl/125495 mentions this issue: acme/autocert: add support for tls-alpn-01
Without faking out the whole of GetCertificate, it's not easy to test an autocert-based system, and doing things that way leaves substantial room for getting the Manager configuration wrong.
The autocert tests contain an ACME CA server stub - maybe that could be made available publicly in some form.