Originally created by @j-ed on GitHub (Jan 31, 2019).
Used version: 0.6.2 snapshot 2019-01-24
I'm currently using the startup_hook and exit_hook to start and stop the alpn responder. This works fine as long as e.g. the invalid_challenge hook is called. If this happens the exit_hook is not called anymore and therefore the responder process isn't stopped.
Based on the hook description This hook is called at the end of the cron command and can be used to do some final (cleanup or other) tasks. it would expect that it is called at the end of the script, independently from any other hook.
Originally created by @j-ed on GitHub (Jan 31, 2019).
Used version: 0.6.2 snapshot 2019-01-24
I'm currently using the **startup_hook** and **exit_hook** to start and stop the alpn responder. This works fine as long as e.g. the **invalid_challenge** hook is called. If this happens the **exit_hook** is not called anymore and therefore the responder process isn't stopped.
Based on the hook description `This hook is called at the end of the cron command and can be used to do some final (cleanup or other) tasks.` it would expect that it is called at the end of the script, independently from any other hook.
```
...
+ Generating ALPN certificate and key for xyz-domain...
+ 2 pending challenge(s)
+ Deploying challenge tokens...
+ Responding to challenge for xyz-domain authorization...
-> Executing hook script 'invalid_challenge' ...
+ Cleaning challenge tokens...
+ Challenge validation has failed :(
ERROR: Challenge is invalid! (returned: invalid) (result: {
"type": "tls-alpn-01",
"status": "invalid",
"error": {
"type": "urn:ietf:params:acme:error:unauthorized",
"detail": "Cannot negotiate ALPN protocol \"acme-tls/1\" for tls-alpn-01 challenge",
"status": 403
},
"url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/5tqXJp-JJV3uLUOuzYwNJ2WULUkr445566/233653317",
"token": "-UNY2ol99KT4LCq72LmeewwGG23defytSPxWRrzLMqA",
"validationRecord": [
{
"hostname": "xyz-domain",
"port": "443",
"addressesResolved": [
"11.22.33.44"
],
"addressUsed": "11.22.33.44"
}
]
})
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @j-ed on GitHub (Jan 31, 2019).
Used version: 0.6.2 snapshot 2019-01-24
I'm currently using the startup_hook and exit_hook to start and stop the alpn responder. This works fine as long as e.g. the invalid_challenge hook is called. If this happens the exit_hook is not called anymore and therefore the responder process isn't stopped.
Based on the hook description
This hook is called at the end of the cron command and can be used to do some final (cleanup or other) tasks.it would expect that it is called at the end of the script, independently from any other hook.