Commit a6abec82 authored by Matthew Holt's avatar Matthew Holt

letsencrypt: Update to match upstream refactor

Challenge names now have their own type and constants
parent 82b04922
......@@ -346,7 +346,7 @@ func newClientPort(leEmail, port string) (*acme.Client, error) {
client.SetHTTPAddress(":" + port)
client.SetTLSAddress(":" + port)
}
client.ExcludeChallenges([]string{"tls-sni-01", "dns-01"}) // We can only guarantee http-01 at this time, but tls-01 should work if port is not custom!
client.ExcludeChallenges([]acme.Challenge{acme.TLSSNI01, acme.DNS01}) // We can only guarantee http-01 at this time, but tls-01 should work if port is not custom!
// If not registered, the user must register an account with the CA
// and agree to terms
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment