forked from TrueCloudLab/lego
fix: review path information. (#1151)
This commit is contained in:
parent
f13a88feb5
commit
eb112e381c
1 changed files with 4 additions and 4 deletions
|
@ -142,8 +142,8 @@ func renewForDomains(ctx *cli.Context, client *lego.Client, certsStorage *Certif
|
||||||
certsStorage.SaveResource(certRes)
|
certsStorage.SaveResource(certRes)
|
||||||
|
|
||||||
meta[renewEnvCertDomain] = domain
|
meta[renewEnvCertDomain] = domain
|
||||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
|
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
|
||||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
|
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
|
||||||
|
|
||||||
return renewHook(ctx, meta)
|
return renewHook(ctx, meta)
|
||||||
}
|
}
|
||||||
|
@ -182,8 +182,8 @@ func renewForCSR(ctx *cli.Context, client *lego.Client, certsStorage *Certificat
|
||||||
certsStorage.SaveResource(certRes)
|
certsStorage.SaveResource(certRes)
|
||||||
|
|
||||||
meta[renewEnvCertDomain] = domain
|
meta[renewEnvCertDomain] = domain
|
||||||
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, "crt")
|
meta[renewEnvCertPath] = certsStorage.GetFileName(domain, ".crt")
|
||||||
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, "key")
|
meta[renewEnvCertKeyPath] = certsStorage.GetFileName(domain, ".key")
|
||||||
|
|
||||||
return renewHook(ctx, meta)
|
return renewHook(ctx, meta)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue