How to Delete a Certbot SSL Certificate.

certbot letsencrypt linux

Delete Certbot Certificate from a List

This command will offer an index from which you can select the domain name to delete:

$ sudo certbot delete

Type the index number of the domain name’s certificate you want to delete and press enter. The issued certificate will be then deleted.

Delete Certbot Certificate by Domain Name

if the domain name does not appear in the list.

$ sudo certbot delete --cert-name example.com