mox/autotls
Mechiel Lukkien bddc8e4062
also configure acme validation with http-01, and fix a bug that caused tls cert refresh at startup to not always run
we already do acme tls-alpn-01 validation, and still require it (we could relax
this at some point). http-01 is easy to add.

the bug was that the list of acme managers and hosts to refresh was overwritten
by another listener. the listeners are a map, and we range over it, so the
order we handle them is random. if the public listener was handled first, and
an internal handler later, the list was reset again.
2023-03-10 17:55:37 +01:00
..
autotls.go also configure acme validation with http-01, and fix a bug that caused tls cert refresh at startup to not always run 2023-03-10 17:55:37 +01:00
autotls_test.go also configure acme validation with http-01, and fix a bug that caused tls cert refresh at startup to not always run 2023-03-10 17:55:37 +01:00