You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, I'm using a binary release within 2 latest releases.
Yes, I've searched similar issues on GitHub and didn't find any.
Yes, I've included all information below (version, config, etc).
What did you expect to see?
Hook scripts are provided with certificate related information using the following environment variables. But some of them are set and contain the respective file path even if the file has not been created:
LEGO_CERT_PFX_PATH (only with --pfx)
LEGO_CERT_PEM_PATH (only with --pem)
In addition there should also be an environment variable (e.g. LEGO_ISSUER_CERT_PATH) containing the path to the issuer's certificate if the file has been created.
What did you see instead?
The environment variables should only exist or have a value if the respective file has been created. Otherwise this may be misleading and makes it more complex for the scripts to decide/differentiate how to handle it.
How do you use lego?
Binary
Reproduction steps
Just create or renew a certificate without the mentioned options being set.
Welcome
What did you expect to see?
Hook scripts are provided with certificate related information using the following environment variables. But some of them are set and contain the respective file path even if the file has not been created:
LEGO_CERT_PFX_PATH
(only with--pfx
)LEGO_CERT_PEM_PATH
(only with--pem
)In addition there should also be an environment variable (e.g.
LEGO_ISSUER_CERT_PATH
) containing the path to the issuer's certificate if the file has been created.What did you see instead?
The environment variables should only exist or have a value if the respective file has been created. Otherwise this may be misleading and makes it more complex for the scripts to decide/differentiate how to handle it.
How do you use lego?
Binary
Reproduction steps
Just create or renew a certificate without the mentioned options being set.
Version of lego
lego version 4.16.1 linux/amd64
Logs
Go environment (if applicable)
The text was updated successfully, but these errors were encountered: