mirror of
https://github.com/certbot/certbot.git
synced 2026-07-31 18:34:41 +02:00
post renewal hook: Add RENEWED_DOMAINS and FAILED_DOMAINS as environment variables (#9724)
* renewal hook: Add RENEWED_DOMAINS and FAILED_DOMAINS as environment variables * renewal hook: Updated documentation * renewal hook: Updated CHANGELOG * renew post hook: Add limit on variable sizes
This commit is contained in:
@@ -707,6 +707,12 @@ form is not appropriate to run daily because each certificate will be
|
||||
renewed every day, which will quickly run into the certificate authority
|
||||
rate limit.)
|
||||
|
||||
Starting with Certbot 2.7.0, certbot provides the environment variables
|
||||
`RENEWED_DOMAINS` and `FAILED_DOMAINS` to all post renewal hooks. These
|
||||
variables contain a space separated list of domains. These variables can be used
|
||||
to determine if a renewal has succeeded or failed as part of your post renewal
|
||||
hook.
|
||||
|
||||
Note that options provided to ``certbot renew`` will apply to
|
||||
*every* certificate for which renewal is attempted; for example,
|
||||
``certbot renew --rsa-key-size 4096`` would try to replace every
|
||||
|
||||
Reference in New Issue
Block a user