mirror of
				https://github.com/go-acme/lego.git
				synced 2025-10-31 08:27:38 +02:00 
			
		
		
		
	feat: add LEGO_ISSUER_CERT_PATH to run hook (#2234)
This commit is contained in:
		| @@ -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) | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user