mirror of
https://github.com/go-acme/lego.git
synced 2025-01-24 22:33:01 +02:00
feat: add LEGO_CERT_PEM_PATH and LEGO_CERT_PFX_PATH to run hook (#1907)
This commit is contained in:
parent
c2e4749d17
commit
dfcf4412f7
@ -105,6 +105,8 @@ func run(ctx *cli.Context) error {
|
||||
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"),
|
||||
}
|
||||
|
||||
return launchHook(ctx.String("run-hook"), meta)
|
||||
|
Loading…
x
Reference in New Issue
Block a user