I posted originally here but I think it may have been the wrong place https://www.virtualmin.com/node/67264
The problem is that virtualmin is trying to renew a lets encrypt cert but is getting the error: "You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry."
I think the cause may be that I used certbot to renew some certs outside of virtualmin.
I think the problem may be that virtualmin stores the expiry date somewhere rather than checking the actual cert, and this has become out of sync.
Any ideas if/where these dates are stored and how I can get them back in sync?