forked from TrueCloudLab/lego
feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)
This commit is contained in:
parent
db2ab55cdd
commit
fa7cf5cd4f
1 changed files with 2 additions and 5 deletions
|
@ -113,13 +113,10 @@ func run(ctx *cli.Context) error {
|
||||||
|
|
||||||
meta := map[string]string{
|
meta := map[string]string{
|
||||||
renewEnvAccountEmail: account.Email,
|
renewEnvAccountEmail: account.Email,
|
||||||
renewEnvCertDomain: cert.Domain,
|
|
||||||
renewEnvCertPath: certsStorage.GetFileName(cert.Domain, ".crt"),
|
|
||||||
renewEnvCertKeyPath: certsStorage.GetFileName(cert.Domain, ".key"),
|
|
||||||
renewEnvCertPEMPath: certsStorage.GetFileName(cert.Domain, ".pem"),
|
|
||||||
renewEnvCertPFXPath: certsStorage.GetFileName(cert.Domain, ".pfx"),
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
addPathToMetadata(meta, cert.Domain, cert, certsStorage)
|
||||||
|
|
||||||
return launchHook(ctx.String("run-hook"), meta)
|
return launchHook(ctx.String("run-hook"), meta)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue