mirror of
https://github.com/go-acme/lego.git
synced 2024-11-28 17:41:10 +02:00
fix: review path information. (#1151)
This commit is contained in:
parent
f13a88feb5
commit
eb112e381c
@ -142,8 +142,8 @@ func renewForDomains(ctx *cli.Context, client *lego.Client, certsStorage *Certif
|
||||
certsStorage.SaveResource(certRes)
|
||||
|
||||
meta[renewEnvCertDomain] = domain
|
||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
|
||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
|
||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
|
||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
|
||||
|
||||
return renewHook(ctx, meta)
|
||||
}
|
||||
@ -182,8 +182,8 @@ func renewForCSR(ctx *cli.Context, client *lego.Client, certsStorage *Certificat
|
||||
certsStorage.SaveResource(certRes)
|
||||
|
||||
meta[renewEnvCertDomain] = domain
|
||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
|
||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
|
||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
|
||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
|
||||
|
||||
return renewHook(ctx, meta)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user