# I can't delete my domain because of an associated Let's Encrypt certificate 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](https://docs.digitalocean.com/platform/teams/how-to/manage-certificates/index.html.md) associated with the domain you want to delete, the [delete the domain](https://docs.digitalocean.com/products/networking/dns/how-to/delete-domains/index.html.md). ## Related Topics [How do I fix the error "Record is managed by an App on this account, and cannot be deleted"?](https://docs.digitalocean.com/support/how-do-i-fix-the-error-record-is-managed-by-an-app-on-this-account-and-cannot-be-deleted/index.html.md): Use the app’s Settings tab to remove domains associated with App Platform apps. [Why aren't my vanity DNS name servers resolving?](https://docs.digitalocean.com/support/why-arent-my-vanity-dns-name-servers-resolving/index.html.md): If you use vanity or branded DNS nameservers that delegate to DigitalOcean’s nameservers, you must update to new IP addresses. [How do I fix the DNS error "Primary Name Server Not Listed at Parent"?](https://docs.digitalocean.com/support/how-do-i-fix-the-dns-error-primary-name-server-not-listed-at-parent/index.html.md): Update your registrar to use DigitalOcean’s name servers.