mirror of
https://github.com/go-acme/lego.git
synced 2025-01-03 07:19:39 +02:00
feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)
This commit is contained in:
parent
db2ab55cdd
commit
fa7cf5cd4f
@ -113,13 +113,10 @@ func run(ctx *cli.Context) error {
|
||||
|
||||
meta := map[string]string{
|
||||
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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user