fix: update lego.

This commit is contained in:
Ludovic Fernandez
2019-01-11 16:22:03 +01:00
committed by Traefiker Bot
parent ca60c52199
commit 37ac19583a
11 changed files with 107 additions and 72 deletions

View File

@@ -428,7 +428,7 @@ func (a *ACME) buildACMEClient(account *Account) (*lego.Client, error) {
config := lego.NewConfig(account)
config.CADirURL = caServer
config.KeyType = account.KeyType
config.Certificate.KeyType = account.KeyType
config.UserAgent = fmt.Sprintf("containous-traefik/%s", version.Version)
client, err := lego.NewClient(config)