From 83dc16fa5e9062825be2618882e96669aad9481a Mon Sep 17 00:00:00 2001 From: xenolf Date: Thu, 12 Nov 2015 22:32:27 +0100 Subject: [PATCH] Add the http-01 challenge to the list of solvers --- acme/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/acme/client.go b/acme/client.go index f1bf5c76..c7e87045 100644 --- a/acme/client.go +++ b/acme/client.go @@ -102,6 +102,7 @@ func NewClient(caURL string, usr User, keyBits int, optPort string) (*Client, er // spec to this map. Otherwise they won`t be found. solvers := make(map[string]solver) solvers["simpleHttp"] = &simpleHTTPChallenge{jws: jws, optPort: optPort} + solvers["http-01"] = &httpChallenge{jws: jws, optPort: optPort} return &Client{directory: dir, user: usr, jws: jws, keyBits: keyBits, solvers: solvers}, nil }