neosa
You're right — this is not a permanent solution.
But for now, it's a good workaround to bypass the error and avoid SSL certificate expiration.
Until aaPanel releases an official fix for the renew_cert bug, disabling and recreating the certificate manually is the only way I found to keep the site secure without interruption.
Let’s hope they fix the renewal function soon!