From eb112e381c2e729242aec494aff65263adaac442 Mon Sep 17 00:00:00 2001 From: Ludovic Fernandez Date: Mon, 11 May 2020 10:29:39 +0200 Subject: [PATCH] fix: review path information. (#1151) --- cmd/cmd_renew.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/cmd_renew.go b/cmd/cmd_renew.go index 6d086da8..0d82c968 100644 --- a/cmd/cmd_renew.go +++ b/cmd/cmd_renew.go @@ -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) }