Adding waiter for manual hook http challenge

Wondering if we will have feature to pause manual hook for http challenge. I’ve built a system that needs to transfer the token remotely to other servers and it will take time so a bit of delay before certbot starts verifying the token would be nice. Similar to dns-route53 challenge which we can wait for DNS propagation complete before running the verification.

1 Like

The Route53 plugin is only able to work that way because Route53’s API provides exact status updates as to whether the propagation of the change is complete or not: https://docs.aws.amazon.com/Route53/latest/APIReference/API_GetChange.html . Certbot then sleeps 5 seconds on top of that.

If the system you built is asynchronous but doesn’t provide any way to check the propagation status of the change, then perhaps you can just add a simple sleep to the bottom of your manual authentication hook:

sleep 60
1 Like