my $domain = $proxmox_acme_command->($self, $acme, $auth, $data, 'setup');
print "Add TXT record: _acme-challenge.$domain\n";
- # FIXME: probe ourself for propagation of TXT record, while not 100%
- # failsafe it's good enough of a heuristic to do away with fixed sleep
- # intervalls - original acme.sh employs that heuristic too.
- my $delay = $data->{'validation-delay'} // 30;
+ my $delay = $data->{plugin}->{'validation-delay'} // 30;
if ($delay > 0) {
print "Sleeping $delay seconds to wait for TXT record propagation\n";
sleep($delay); # don't care for EINTR