I can't delete my domain because of an associated Let's Encrypt certificate

DNS domain is currently in use by a Let's Encrypt certificate, deleting this domain would prevent the Let's Encrypt certificate renewal.

Attempting to delete a domain that has a Let’s Encrypt certificate results in the following error:

DNS domain is currently in use by a Let’s Encrypt certificate, deleting this domain would prevent the Let’s Encrypt certificate renewal.

You cannot delete a domain while a Let’s Encrypt SSL certificate is still associated with that domain.

To resolve this error, delete the SSL certificate associated with the domain you want to delete, the delete the domain.

Upgrade your client to support TLSv1.2 or TLSv1.3 for secure MySQL connections.
You can renew your certificate manually using Certbot.
You can typically install an SSL certificate by adding a few lines of configuration to the Droplet’s web server, or by using tools that automatically add the configuration for you.