Open jackc94 opened 7 months ago
If you can confirm that:
lego
by itself does the cleanup properly I will be able to investigate.
Thanks.
Hi @alexzorin
Thanks for getting back to me so quickly. Ok... so I have tested this directly with lego
and can confirm that it DOES NOT clean up so will raise an issue directly.
Thanks for your help,
Jack
Hey @alexzorin
So it looks like this was resolved in v4.15.0 of lego here https://github.com/go-acme/lego/pull/2083
Is this something you bundle with certbot-dns-multi? Apologies, not sure how these things work...
Thanks for figuring out the relevant issue.
I actually released a new version of the plugin yesterday that uses the latest release of lego (v4.15.0), so if you update, it should be working for you now.
If you use the snap, you might need to run snap refresh
.
@alexzorin BINGO!
That's great news... looking forward to implementing this now.
Keep up the great work.
It would be great if the TXT entry was cleaned up after the certs are issued... I know IONOS supports this through the API.
Looks like it might be thinning about it from the logs but the TXT entry remains...
2024-01-29 23:50:38,317:DEBUG:acme.client:Storing nonce: < nonce> 2024-01-29 23:50:38,318:DEBUG:certbot._internal.error_handler:Calling registered functions 2024-01-29 23:50:38,319:INFO:certbot._internal.auth_handler:Cleaning up challenges 2024-01-29 23:50:38,321:DEBUG:certbot_dns_multi._internal.dns_multi:Asking lego to clean up record <record> for domain <mydomain.co.uk>