mirror of
https://github.com/go-acme/lego.git
synced 2024-11-25 17:01:48 +02:00
Add the http-01 challenge to the list of solvers
This commit is contained in:
parent
ba66756d4e
commit
83dc16fa5e
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user