feat: add LEGO_CERT_PEM_PATH and LEGO_CERT_PFX_PATH to run hook (#1907)

This commit is contained in:
Scott Peshak 2023-05-02 11:33:13 -05:00 committed by GitHub
parent c2e4749d17
commit dfcf4412f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)