forked from TrueCloudLab/lego
Replace code which needs go1.5
This commit is contained in:
parent
83dc16fa5e
commit
87e9f08cfa
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ func (s *httpChallenge) Solve(chlng challenge, domain string) error {
|
|||
return err
|
||||
}
|
||||
|
||||
keyAuth := chlng.Token + "." + base64.RawURLEncoding.EncodeToString(thumbBytes)
|
||||
keyThumb := base64.URLEncoding.WithPadding(base64.NoPadding).EncodeToString(thumbBytes)
|
||||
keyAuth := chlng.Token + "." + keyThumb
|
||||
|
||||
go s.startHTTPServer(domain, chlng.Token, keyAuth)
|
||||
var listener net.Listener
|
||||
|
|
Loading…
Reference in a new issue