fix: use provider keytype instead of account keytype.
This commit is contained in:
parent
a4df4b028e
commit
556f7608db
2 changed files with 29 additions and 1 deletions
|
@ -220,7 +220,7 @@ func (p *Provider) getClient() (*lego.Client, error) {
|
|||
|
||||
config := lego.NewConfig(account)
|
||||
config.CADirURL = caServer
|
||||
config.Certificate.KeyType = account.KeyType
|
||||
config.Certificate.KeyType = GetKeyType(ctx, p.KeyType)
|
||||
config.UserAgent = fmt.Sprintf("containous-traefik/%s", version.Version)
|
||||
|
||||
client, err := lego.NewClient(config)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue